mirror of
https://github.com/kou029w/quot.git
synced 2025-01-18 16:08:03 +00:00
print stderr
This commit is contained in:
parent
787f97dcd7
commit
dc559a70cb
2 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,7 @@ declare module "fastify" {
|
|||
}
|
||||
|
||||
export function App(config: Config = defaultConfig()): FastifyInstance {
|
||||
const app = fastify({ logger: true });
|
||||
const app = fastify({ logger: { stream: process.stderr, level: "warn" } });
|
||||
app.decorate("config", config).register(routes);
|
||||
return app;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,10 @@ user = root
|
|||
|
||||
[program:app]
|
||||
command = npm --prefix app start
|
||||
stderr_logfile = /dev/stderr
|
||||
stderr_logfile_maxbytes = 0
|
||||
|
||||
[program:api]
|
||||
command = postgrest
|
||||
stderr_logfile = /dev/stderr
|
||||
stderr_logfile_maxbytes = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue