Syslog on travis

Does anyone know how to access the syslog from the command line on travis? I need to do so because I want to test a function that writes to / reads from the syslog.

There is the R package rsyslog and the command line tool logger. Do either of these do what you need?

no, both just write to the syslog I need to read it in a crossplatformy manner (meaning it should always work when the tools you mentioned work for writing to the log). I wonder if just a cat /var/log/syslog might be enough or of that is not reliable on all systems.

1 Like

just for posterity: cat /var/log/syslog works well on travis at least... I sill don't know how good of a solution that is for generally accessing the syslog on a machine

1 Like

Thanks for following up with your solution! For future readers, could you please mark it as the solution to this thread?

FAQ: How do I mark a solution?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.