How to log: login failures ?

Castillo5 years ago

Hi Anton!

I am trying to improve the security of my running Traccar and I want to know how can I see the login failures in the LOGS

I tried all of this options, but I still can not see the login failures

 <entry key='logger.level'>warning</entry>
 <entry key='logger.file'>/var/log/Traccar/Traccar-server.log</entry>
The levels in descending order are:
•	SEVERE (highest value)
•	WARNING
•	INFO		(por defecto)
•	CONFIG
•	FINE
•	FINER
•	FINEST (lowest value)

Regards!

Castillo5 years ago

Does anyone know something, please?

Ali Raza2 years ago

Greetings,
I know it's late but I landed on this thread because I was facing similar issue.

@Castillo you should use "all" level because it will log all possible events so you can debug or trace the actual problem. And by the way login failures doesn't requires logger to trace you can simply always change the username or password of the user if you are the admin.

Stay blessed

Anton Tananaev2 years ago

Login failures are logged by default.