Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix close emoji click button #1992

Merged
merged 3 commits into from
Nov 4, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
only return one logger instance and create log folder on fetch
Relates #1982
  • Loading branch information
Bilb committed Oct 28, 2021
commit 738fc63a491d347fe801610634c25c8d77cfda68
4 changes: 4 additions & 0 deletions app/logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ function initialize() {
mkdirp.sync(logPath);

return cleanupLogs(logPath).then(() => {
if (logger) {
return;
}

const logFile = path.join(logPath, 'log.log');

logger = bunyan.createLogger({
Expand Down