I wrote a simple test application to log something in a log file. I am using linux mint and after the application executes I try to view the log using this command: <
You have to tell the system what information to log and where to put the info. Logging is configured in the /etc/rsyslog.conf file, then restart rsyslog to load the new config. The default logging rules are usually in a /etc/rsyslog.d/50-default.conf file.