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 +0300

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...

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

add a comment

1 Answer

Sort by » oldest newest most voted
10

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

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.

link

Comments

/etc/systemd/journald.conf

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

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 +0300 )

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

Ragnar Kurm ( 2014-04-29 02:33:53 +0300 )
add a comment

Question tools

Follow
3 followers

Stats

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

Seen: 2,256 times

Last updated: Dec 30 '13