Conflicts
This commit is contained in:
parent
0128ec5f69
commit
7c6de16bec
1 changed files with 0 additions and 18 deletions
|
|
@ -4,25 +4,7 @@ import fastify, { FastifyInstance } from 'fastify';
|
||||||
import app from './app';
|
import app from './app';
|
||||||
|
|
||||||
const start = async () => {
|
const start = async () => {
|
||||||
<<<<<<< HEAD
|
|
||||||
const f: FastifyInstance = fastify({ logger: { level: 'info' } });
|
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', () => {
|
process.on('SIGTERM', () => {
|
||||||
f.log.warn('Requested to shutdown');
|
f.log.warn('Requested to shutdown');
|
||||||
process.exit(134);
|
process.exit(134);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue