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.
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.
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
Thanks for following up with your solution! For future readers, could you please mark it as the solution to this thread?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.