Conflicts
This commit is contained in:
parent
7c6de16bec
commit
9122194b7b
1 changed files with 0 additions and 18 deletions
|
|
@ -4,25 +4,7 @@ import fastify, { FastifyInstance } from 'fastify';
|
|||
import app from './app';
|
||||
|
||||
const start = async () => {
|
||||
<<<<<<< HEAD
|
||||
const f: FastifyInstance = fastify({ logger: { level: 'info' } });
|
||||
=======
|
||||
const envToLogger = {
|
||||
development: {
|
||||
transport: {
|
||||
target: 'pino-pretty',
|
||||
options: {
|
||||
translateTime: 'HH:MM:ss Z',
|
||||
ignore: 'pid,hostname',
|
||||
},
|
||||
},
|
||||
},
|
||||
production: true,
|
||||
test: false,
|
||||
};
|
||||
|
||||
const f: FastifyInstance = fastify({ logger: envToLogger.development });
|
||||
>>>>>>> refs/remotes/origin/nigel/functionBlockMessage
|
||||
process.on('SIGTERM', () => {
|
||||
f.log.warn('Requested to shutdown');
|
||||
process.exit(134);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue