Editing server logs

Good evening everyone,
I need to edit the Gladys server logs and I don’t know the corresponding command.
When I run « docker logs gladys », the output is the equivalent of 72 pages.
Thank you in advance for your help,
JLuc

Hi @Jluc :slight_smile:

You can run:

docker logs gladys --tail=200

This will return the last 200 lines of logs.

If you want to see the logs « live », you can add « -f » (« follow »):

docker logs gladys --tail=200 -f

Documentation reference: docker container logs | Docker Docs

Hi @pierre-gilles and thanks for your feedback.
I started the logs after triggering the scene and here is the result:

That’s not the right command…
docker logs --tail 200 gladys

Thanks @GBoulvin. Which command should be run to get the info?

I just added it to my previous message :wink:

Thanks again @GBoulvin for your help which allows me to forward the logs to @pierre-gilles. I see many lines « not configured in gladys » and I don’t know if these are errors to fix.



Good evening everyone

1 Like

Ah, it must be a newer version of Docker than mine, on my side the command I posted above works fine! Thanks for spotting that @GBoulvin :folded_hands:

@Jluc The logs you see are normal and not critical at all, it’s just an informational message with no impact.

1 Like

I was thinking of changing the log level (debug) of this feature, which doesn’t add much and clutters the logs a lot.

1 Like

+1 @cicoub13