How to disable logging fully?

edited April 2020 in Questions & Answers
Logs grows and make SD Card life shorter (Orange Pi install).

Logs are HUGE too.

How to swich logging off?

here:
/var/lib/Repetier-Server/logs
/var/lib/Repetier-Server/printer/PrinterName/logs

Comments

  • Printer logs get deleted when they exceed 5. Where you see them in printer->menu->logs you can also disable them.
    For the regular log you need to check /usr/local/Repetier-Server/etc/RepetierServer.xml - there is a option <logging>true</logging> you need to set to false. But it will be overwritten by next update.
    So better make a copy with name 
    RepetierServer-extra.xml with content

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <server>
    <logging>false</logging>
    </server>
    to override the default settings.
    Last thing with logging like bevhaviour is rescue system if activated.

  • Repetier said:
    Printer logs get deleted when they exceed 5. Where you see them in printer->menu->logs you can also disable them.
    For the regular log you need to check /usr/local/Repetier-Server/etc/RepetierServer.xml - there is a option <logging>true</logging> you need to set to false. But it will be overwritten by next update.
    So better make a copy with name 
    RepetierServer-extra.xml with content

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <server>
    <logging>false</logging>
    </server>
    to override the default settings.
    Last thing with logging like bevhaviour is rescue system if activated.

    I made as you said, but logging still works

    I got file again!
    /var/lib/Repetier-Server/printer/DeltaMark/logs/prusa-i3-top-fishkas.log


  • That one needs to be disabled in printer ->printer menu->logs. The file solution is only for server.log.
Sign In or Register to comment.