Skip to content

Commit

Permalink
Adjusted logger names.
Browse files Browse the repository at this point in the history
  • Loading branch information
shrihari-prakash committed Dec 31, 2023
1 parent 1a6ca4c commit f1a37cc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/service/api/system/shared/stats.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/code" });
const log = Logger.getLogger().child({ from: "system/stats.get" });

import { Request, Response } from "express";
import * as os from "os";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/follow-status.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "client-api/user-following" });
const log = Logger.getLogger().child({ from: "user/follow-status" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/scopes.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/client" });
const log = Logger.getLogger().child({ from: "user/scopes" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/roles.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "admin-api/editable-fields" });
const log = Logger.getLogger().child({ from: "admin-api/roles.get" });

import { Request, Response } from "express";

Expand Down
2 changes: 1 addition & 1 deletion src/service/api/user/shared/user-info.get.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Logger } from "../../../../singleton/logger";
const log = Logger.getLogger().child({ from: "user/common-api/get-user-info" });
const log = Logger.getLogger().child({ from: "user/common-api/user-info.get" });

import { Request, Response } from "express";
import { query } from "express-validator";
Expand Down

0 comments on commit f1a37cc

Please sign in to comment.