We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

System log files [answered]

asked 2013-12-30 11:06:28 +0200

plipp gravatar image

I'm wondering where sailfish stores some kind of system log files. I have checked /var/log/ and /var/systemlog/, but neither seems to contain any sort of general log. Am i just missing something?

At least here: https://together.jolla.com/question/850/bug-google-account-logout/ is a log snippet from something i might be looking for...

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by pnuu
close date 2013-12-30 15:30:45.365159

1 Answer

Sort by » oldest newest most voted
10

answered 2013-12-30 11:15:23 +0200

Long story short: We use systemd's journald. It's configured with /etc/system/journald.conf . You can read it in terminal or over SSH in developer mode with 'journalctl' command.

The default setting is that the log is volatile (only exists in RAM - erased at reboot), you can flip it to persistent and it would store into /var/log/journal in a binary format readable with journalctl.

edit flag offensive delete publish link more

Comments

/etc/systemd/journald.conf

virmajor ( 2013-12-30 11:33:19 +0200 )edit

Alright, thanks for the info. I'm having a problem where the phone randomly shuts down, so I'll make the log persistent and have a look at it next time the problem occurs.

plipp ( 2013-12-30 12:02:12 +0200 )edit

Were you able to read pre-boot log with persistent storage? Which command-line?

Ragnar Kurm ( 2014-04-29 02:33:53 +0200 )edit

Question tools

Follow
3 followers

Stats

Asked: 2013-12-30 11:06:28 +0200

Seen: 2,250 times

Last updated: Dec 30 '13