Project

General

Profile

error log

Added by Liang Tang almost 4 years ago

This may have been discussed previously but... is there anywhere in the appion database or leginon that saves error messages (or just general log info') from the latest session leginon? We came across a problem in which data collection halted in the middle of a session (the last image shows a time stamp of Jan 13 23:57), but unfortunately the leginon GUI was closed without saving a screenshot.
Btw, the issue happened mid-night; not sure if it relates to a previous thread on a similar issue affecting file saving right at the mid-night.
Thanks.


Replies (1)

RE: error log - Added by Anchi Cheng almost 4 years ago

In the top toolbar of leginon under Others, you will find Logging. I don't fully know how to optimally set it, but I can change the log level of individual node, and add DatabaseLogHandler to allow it to send the log to database. It is tedious to add that to everyone, though. The DatabaseLogHandler at root level does not turn on all nodes which I hoped it would.

Database Log is not turned on by default probably because a lot of messages go through. We don't get to choose different log level for different handlers.

In my test, I also found a bug #9795 which I fixed and pushed to trunk/beta/pymysql/3.5 branches.

A work around is that you can turn on error/timeout notification at Presets Manager toolbar (clock icon). If you have Slack notification set up, it goes there with timestamp. Otherwise, it prints the errors to the text terminal.

    (1-1/1)