Skip to content

Commit

Permalink
Fix log file location for MongoDB (appsmithorg#13744)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharat87 committed May 11, 2022
1 parent ae22baa commit f344688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/docker/templates/supervisord/mongodb.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[program:mongodb]
directory=/appsmith-stacks/data/mongodb
command=mongod --port 27017 --dbpath . --logpath log --replSet mr1 --keyFile key --bind_ip localhost
command=mongod --port 27017 --dbpath . --logpath /appsmith-stacks/logs/%(program_name)s/db.log --replSet mr1 --keyFile key --bind_ip localhost
priority=10
autostart=true
autorestart=true
Expand All @@ -13,4 +13,4 @@ stderr_logfile_maxbytes=10MB
stdout_logfile_backups=5
stderr_logfile_backups=5
stdout_events_enabled=true
stderr_events_enabled=true
stderr_events_enabled=true

0 comments on commit f344688

Please sign in to comment.