Viewing Logs Older than Gateway view

Is there a way to view logs older than what we can see in the gateway log view?

You might have more logs in the wrapper.log files, in $gatewayInstallLocation/logs - by default, they're sequentially named "rolling" files, so wrapper.log has the newest events, and wrapper.log.5 has the oldest events.

Whether this will actually have a longer duration is impossible to know, however. The wrapper.log files are kept to ~10mB for 5 rolling files. The gateway logs are kept to ~50,000 events, truncated every minute. The exact timestamp is fluid because different types of logged messages (and especially, their associated stacktrace) will consume different amounts of space.

1 Like

Thank you, I was able to locate those files, unfortunately they contain the same info as what is in the gateway so I can't go back further. Thank you for pointing me to the right place.

The duration, rollover size, and number to keep is configurable in ignition.conf.

Where under Config do I change the settings for logs?

It's not in the gateway web interface. It is a config file in the install folder. Restart the gateway after changing it.

Thanks, I don't see anything like that, see photo:
image

It'll be easier to see if you turn on display of file extensions. (I really despise Windows for that kind of BS.)

It's a file called ignition.conf in the install directory.

Wrapper log configuration is documented here:
https://wrapper.tanukisoftware.com/doc/english/props-logging.html