Logread. command

Hello.
i used command logread.
when I call the “logread” command, I get a big report?
tell me, how to clear this log?

Hi, you can find out more on the Logread command at the Legato site:
https://docs.legato.io/18_05/conceptsLogs.html

Jon

i read this doc.
and i read this
https://docs.legato.io/18_05/c_logging.html#c_log_basic_defaultSyslog
https://docs.legato.io/18_05/toolsTarget_log.html
I have not found in these documents, how can I clear the file log?
What is the maximum log size?

the logread is a few kb (circular buffer), depending on setup. but logread is just an option, syslog can be sent to a file too. You can try logread -h and also post on the Legato forum for further details.

1 Like