Skip to content

Commit

Permalink
fix(logging): Temporarily remove the config for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivanpj committed Dec 26, 2023
1 parent 098e7b8 commit b557ed8
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions packages/logging/src/utilities/get-transports.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
import { StormConfig } from "@storm-software/config-tools";
import {
StormDateTime,
formatDate,
formatDateTime
} from "@storm-stack/date-time";
import {
EMPTY_STRING,
isRuntimeServer,
isSetString
} from "@storm-stack/utilities";
import { isSetString } from "@storm-stack/utilities";
import { tmpdir } from "os";
import { join } from "path";
import pino, {
Expand Down Expand Up @@ -111,7 +102,7 @@ export const getTransports = (
};
}

if (isRuntimeServer()) {
/* if (isRuntimeServer()) {
const pinoServerOptions = {
options: {
...baseOptions,
Expand All @@ -137,7 +128,7 @@ Message: {msg}
}
};
targets.push(
targets.push(
...[
{
target: "pino/file",
Expand Down Expand Up @@ -237,5 +228,7 @@ Message: {msg}
targets
}),
pretty(prettyOptions)
);
);*/

return pino(pretty());
};

0 comments on commit b557ed8

Please sign in to comment.