Skip to content

Commit

Permalink
refactor: improve logging (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
subotic committed Jun 9, 2023
1 parent e3558a3 commit 7fb9dc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -18,7 +18,7 @@ COPY ./nginx/nginx-security-headers.conf /etc/nginx/security-headers.conf
COPY ./dist/apps/dsp-app /public

# Write build tag
RUN echo '{"build_tag": "$build_tag"}' > /public/config/build.json
RUN echo "{\"build_tag\": \""$build_tag"\"}" > /public/config/build.json

# start nginx in the foreground
CMD ["nginx", "-g", "daemon off;"]
Expand Up @@ -37,8 +37,6 @@ export class AppLoggingService {
datadogLogs.logger.setHandler(['console', 'http']);
this.logger = datadogLogs.logger;
}
this.info('config', this.config);
this.info('build_tag', tag);
});
}

Expand Down

0 comments on commit 7fb9dc2

Please sign in to comment.