Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging: include "mailnag" and default to WARNING level #228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Mailnag/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

from Mailnag.common.dist_cfg import PACKAGE_NAME, DBUS_BUS_NAME, DBUS_OBJ_PATH

LOG_FORMAT = '%(levelname)s (%(asctime)s): %(message)s'
LOG_FORMAT = 'mailnag[%(process)d]: %(levelname)s (%(asctime)s): %(message)s'
LOG_DATE_FORMAT = '%Y-%m-%d %H:%M:%S'


Expand Down
2 changes: 1 addition & 1 deletion mailnag
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ from Mailnag.common.exceptions import InvalidOperationException
from Mailnag.daemon.mailnagdaemon import MailnagDaemon

PROGNAME = 'mailnag'
LOG_LEVEL = logging.DEBUG
LOG_LEVEL = logging.WARNING


def cleanup(daemon):
Expand Down
2 changes: 1 addition & 1 deletion mailnag-config
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ from Mailnag.common.utils import set_procname, shutdown_existing_instance, get_d
from Mailnag.common.dist_cfg import BIN_DIR
from Mailnag.configuration.configwindow import ConfigWindow

LOG_LEVEL = logging.DEBUG
LOG_LEVEL = logging.WARNING


class App(Gtk.Application):
Expand Down