X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fquassel.cpp;h=09d8037f097ea019ed939a15474e76b7d6dd0065;hb=edc55b1f86cf613a332eeeb5d85537a54120dfa5;hp=fdcd0527476673e1f910ce5522436d90b4de23bc;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/common/quassel.cpp b/src/common/quassel.cpp index fdcd0527..09d8037f 100644 --- a/src/common/quassel.cpp +++ b/src/common/quassel.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -37,7 +37,6 @@ #include "bufferinfo.h" #include "identity.h" #include "logger.h" -#include "logmessage.h" #include "message.h" #include "network.h" #include "peer.h" @@ -99,7 +98,7 @@ void Quassel::quit() // Protect against multiple invocations (e.g. triggered by MainWin::closeEvent()) if (!_quitting) { _quitting = true; - quInfo() << "Quitting..."; + qInfo() << "Quitting..."; if (_quitHandlers.empty()) { QCoreApplication::quit(); } @@ -291,9 +290,9 @@ void Quassel::handleSignal(AbstractSignalWatcher::Action action) case AbstractSignalWatcher::Action::Reload: // Most applications use this as the 'configuration reload' command, e.g. nginx uses it for graceful reloading of processes. if (!_reloadHandlers.empty()) { - quInfo() << "Reloading configuration"; + qInfo() << "Reloading configuration"; if (reloadConfig()) { - quInfo() << "Successfully reloaded configuration"; + qInfo() << "Successfully reloaded configuration"; } } break; @@ -302,7 +301,7 @@ void Quassel::handleSignal(AbstractSignalWatcher::Action action) quit(); } else { - quInfo() << "Already shutting down, ignoring signal"; + qInfo() << "Already shutting down, ignoring signal"; } break; case AbstractSignalWatcher::Action::HandleCrash: @@ -359,6 +358,7 @@ void Quassel::setupCliParser() tr("The port quasselcore will listen at for ident requests. Only meaningful with --ident-daemon."), tr("port"), "10113"}, + {"ident-listen", tr("The address(es) quasselcore will listen on for ident requests. Same format as --listen."), tr("
[,...]"), "::1,127.0.0.1"}, {"oidentd", tr("Enable oidentd integration. In most cases you should also enable --strict-ident.")}, {"oidentd-conffile", tr("Set path to oidentd configuration file."), tr("file")}, #ifdef HAVE_SSL @@ -390,6 +390,8 @@ void Quassel::setupCliParser() options += { {"debug-irc", tr("Enable logging of all raw IRC messages to debug log, including passwords! In most cases you should also set --loglevel Debug")}, {"debug-irc-id", tr("Limit raw IRC logging to this network ID. Implies --debug-irc"), tr("database network ID"), "-1"}, + {"debug-irc-parsed", tr("Enable logging of all parsed IRC messages to debug log, including passwords! In most cases you should also set --loglevel Debug")}, + {"debug-irc-parsed-id", tr("Limit parsed IRC logging to this network ID. Implies --debug-irc-parsed"), tr("database network ID"), "-1"}, }; }