4.5 not loggin

Gantz6 years ago

hi, i have a problem i recently updated to 4.5 but its not generating a log file these are my configurations

    <entry key='config.default'>./setup/default.xml</entry>
    <entry key='web.path'>./traccar-web/web</entry>
    <entry key='web.debug'>false</entry>
    <entry key='web.console'>true</entry>
    <entry key='logger.console'>false</entry>
    <entry key='atrack.custom'>true</entry>
    <entry key='logger.file'>target/tracker-server.log</entry>

can some one have a hint????

Kenichi6 years ago

Hello,

Did you touch something in the default.xml file? Is that your default.xml or traccar.xml file?
Try changing the logger.file key with that :

<entry key='logger.file'>./logs/tracker-server.log</entry>

And add this parameters (they should be present in the default.xml by default) :

 <entry key='logger.enable'>true</entry>
 <entry key='logger.level'>info</entry>
 <entry key='logger.rotate'>true</entry>
Gantz6 years ago

that is my debug.xml, my default.xml is this:

    <entry key='logger.enable'>true</entry>
    <entry key='logger.level'>all</entry>
    <entry key='logger.file'>./logs/tracker-server.log</entry>
    <entry key='logger.rotate'>true</entry>

i dont know what the .rotate does