Skip to content

Commit

Permalink
Fix debug logs not acitve
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Nov 21, 2023
1 parent c65ae36 commit 8eb4b2d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/common/vfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void Vfs::wipeDehydratedVirtualFiles()
// But hydrated placeholders may still be around.
}

Q_LOGGING_CATEGORY(lcPlugin, "plugins", QtInfoMsg)
Q_LOGGING_CATEGORY(lcPlugin, "sync.plugins", QtInfoMsg)

OCC::VfsPluginManager *OCC::VfsPluginManager::_instance = nullptr;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

namespace OCC::Wizard::Jobs {

Q_LOGGING_CATEGORY(lcDiscoverWebFingerService, "jobs.discoverwebfinger");
Q_LOGGING_CATEGORY(lcDiscoverWebFingerService, "gui.jobs.discoverwebfinger");

CoreJob *DiscoverWebFingerServiceJobFactory::startJob(const QUrl &url, QObject *parent)
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/newwizard/jobs/resolveurljobfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <QNetworkReply>

namespace {
Q_LOGGING_CATEGORY(lcResolveUrl, "wizard.resolveurl")
Q_LOGGING_CATEGORY(lcResolveUrl, "gui.wizard.resolveurl")

// used to signalize that the request was aborted intentionally by the sslErrorHandler
const char abortedBySslErrorHandlerC[] = "aborted-by-ssl-error-handler";
Expand Down
2 changes: 1 addition & 1 deletion src/gui/newwizard/setupwizardcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ QList<SetupWizardState> getNavigationEntries()

namespace OCC::Wizard {

Q_LOGGING_CATEGORY(lcSetupWizardController, "setupwizard.controller")
Q_LOGGING_CATEGORY(lcSetupWizardController, "gui.setupwizard.controller")

SetupWizardController::SetupWizardController(SettingsDialog *parent)
: QObject(parent)
Expand Down
2 changes: 1 addition & 1 deletion src/gui/newwizard/setupwizardwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ QString replaceCssColors(const QString &stylesheet)

namespace OCC::Wizard {

Q_LOGGING_CATEGORY(lcSetupWizardWindow, "setupwizard.window")
Q_LOGGING_CATEGORY(lcSetupWizardWindow, "gui.setupwizard.window")

SetupWizardWindow::SetupWizardWindow(SettingsDialog *parent)
: QDialog(parent)
Expand Down
2 changes: 1 addition & 1 deletion src/gui/newwizard/states/serverurlsetupwizardstate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const QStringList supportedUrlSchemesC({ defaultUrlSchemeC, QStringLiteral("http

namespace OCC::Wizard {

Q_LOGGING_CATEGORY(lcSetupWizardServerUrlState, "setupwizard.states.serverurl");
Q_LOGGING_CATEGORY(lcSetupWizardServerUrlState, "gui.setupwizard.states.serverurl");

ServerUrlSetupWizardState::ServerUrlSetupWizardState(SetupWizardContext *context)
: AbstractSetupWizardState(context)
Expand Down
2 changes: 1 addition & 1 deletion src/gui/scheduling/etagwatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace {
constexpr auto pollTimeoutC = 30s;
}

Q_LOGGING_CATEGORY(lcEtagWatcher, "scheduler.etagwatcher", QtInfoMsg)
Q_LOGGING_CATEGORY(lcEtagWatcher, "gui.scheduler.etagwatcher", QtInfoMsg)

ETagWatcher::ETagWatcher(FolderMan *folderMan, QObject *parent)
: QObject(parent)
Expand Down
2 changes: 1 addition & 1 deletion src/gui/scheduling/syncscheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using namespace std::chrono_literals;

using namespace OCC;

Q_LOGGING_CATEGORY(lcSyncScheduler, "scheduler.syncscheduler", QtInfoMsg)
Q_LOGGING_CATEGORY(lcSyncScheduler, "gui.scheduler.syncscheduler", QtInfoMsg)

class FolderPriorityQueue
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/spaces/spacesdelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

using namespace OCC::Spaces;

Q_LOGGING_CATEGORY(lcSpacesDelegate, "spaces.delegate")
Q_LOGGING_CATEGORY(lcSpacesDelegate, "gui.spaces.delegate")

void SpacesDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
{
Expand Down
2 changes: 1 addition & 1 deletion src/libsync/platform_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

void migrateLaunchOnStartup();

Q_LOGGING_CATEGORY(lcPlatform, "platform.macos")
Q_LOGGING_CATEGORY(lcPlatform, "sync.platform.macos")
} // OCC namespace

@interface OwnAppDelegate : NSObject <NSApplicationDelegate>
Expand Down
2 changes: 1 addition & 1 deletion src/libsync/platform_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct

namespace OCC {

Q_LOGGING_CATEGORY(lcPlatform, "platform.windows")
Q_LOGGING_CATEGORY(lcPlatform, "sync.platform.windows")

WinPlatform::WinPlatform()
{
Expand Down

0 comments on commit 8eb4b2d

Please sign in to comment.