How do I view all messages in the syslog? I am looking for messages that my program is generating that I have tagged with `
[pistreaming]
so I can find these messages usign
grep
`
sudo more /var/log/syslog | grep -i pistreaming
and I get output like this:
Feb 23 19:31:49 opcrd logger: Starting pistreaming service...
Feb 23 19:31:52 opcrd [pistreaming] Initializing websockets server on port 8084
Feb 23 19:31:52 opcrd [pistreaming] Initializing HTTP server on port 8082
Feb 23 19:43:21 opcrd logger: Starting pistreaming service...
Feb 23 19:43:24 opcrd [pistreaming] Initializing websockets server on port 8084
Feb 23 19:43:24 opcrd [pistreaming] Initializing HTTP server on port 8082
Feb 23 19:43:24 opcrd [pistreaming] Initializing broadcast thread
Feb 23 19:43:24 opcrd [pistreaming] Starting recording
Feb 23 19:43:24 opcrd [pistreaming] Starting websockets thread
Feb 23 19:43:24 opcrd [pistreaming] Starting HTTP server thread
Feb 23 19:43:24 opcrd [pistreaming] Stopping recording
Feb 23 19:43:25 opcrd [pistreaming] Waiting for broadcast thread to finish
but, if I don't `grep
`, these messages don't seem to show up in the log; what am I doing wrong?
Asked by cirrusio
(141 rep)
Feb 23, 2017, 11:40 PM
Last activity: Nov 16, 2021, 09:36 AM
Last activity: Nov 16, 2021, 09:36 AM