Skip to content

Commit

Permalink
ORA-578 back to simple logging, we now log to systemd journal via stderr
Browse files Browse the repository at this point in the history
This way we don't have to setup any extra log rotations.
  • Loading branch information
ensonic committed Sep 21, 2015
1 parent 5499b02 commit 07cc7f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions EV3MenuEv3dev/openrobertalab.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
from roberta.ev3 import Hal
from roberta.__version__ import version

FORMAT = '%(asctime)-15s:' + logging.BASIC_FORMAT
logging.basicConfig(filename='/var/log/robertalab.log', level=logging.DEBUG, format=FORMAT)
logging.basicConfig(level=logging.DEBUG)

logger = logging.getLogger('openroberta-service')
gobject.threads_init()
Expand Down

0 comments on commit 07cc7f1

Please sign in to comment.