Nxerror.log becomes massive

Forums / NoMachine for Mac / Nxerror.log becomes massive

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23662
    Avatarvertico
    Participant

    Hello,

    I have several headless Mac mini’s running NoMachine and on many of the nxerror.log becomes very large (50-75GB)

    Too large for me to open it to see what’s inside.

    I am not having any actual issues with NoMachine however I am interested to know if it is possible to simply disable nxerror.log so that NoMachine is no longer logging to it.

    #23668
    AvatarGega
    Participant

    Hello,

    Firstly please try this:

    1)Shut down nxserver:
    /etc/NX/nxserver --shutdown

    2)Clean nxerror.log:
    > /Library/Application\ Support/NoMachine/var/log/nxerror.log

    3)Start up nxserver:
    /etc/NX/nxserver --startup

    If nxerror.log still continues to grow, please collect logs and send it to us to investigate and provide proper fix. This article shows how to collect logs: https://www.nomachine.com/DT10O00163
    As a workaround you could redirect all logs written in nxerror.log to null, to do that you need to:

    1)Shut down nxserver:
    /etc/NX/nxserver --shutdown

    2)Remove nxerror.log:
    rm -rf /Library/Application\ Support/NoMachine/var/log/nxerror.log

    3)Redirect nxerror.log to /dev/null:
    cp -a /dev/null /Library/Application\ Support/NoMachine/var/log/nxerror.log

    4)Start up nxserver:
    /etc/NX/nxserver --startup

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as closed, you can't post.