Skip to content

Commit 90538dd

Browse files
code-asheryiliang114
authored andcommitted
Use debug instead of trace
Trace outputs stack traces which is entirely unnecessary for these two log entries and makes the logs noisier than they need to be.
1 parent f255c5e commit 90538dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/node/heart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class Heart {
3131
return
3232
}
3333

34-
logger.trace("heartbeat")
34+
logger.debug("heartbeat")
3535
this.lastHeartbeat = Date.now()
3636
if (typeof this.heartbeatTimer !== "undefined") {
3737
clearTimeout(this.heartbeatTimer)

src/node/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const runCodeServer = async (
109109
logger.info(`code-server ${version} ${commit}`)
110110

111111
logger.info(`Using user-data-dir ${args["user-data-dir"]}`)
112-
logger.trace(`Using extensions-dir ${args["extensions-dir"]}`)
112+
logger.debug(`Using extensions-dir ${args["extensions-dir"]}`)
113113

114114
if (args.auth === AuthType.Password && !args.password && !args["hashed-password"]) {
115115
throw new Error(

0 commit comments

Comments
 (0)