-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardize log patterns across all services for consistency.
- Loading branch information
1 parent
79ff105
commit 1d56a86
Showing
6 changed files
with
63 additions
and
59 deletions.
There are no files selected for viewing
21 changes: 11 additions & 10 deletions
21
deploy/docker/fs/opt/appsmith/templates/supervisord/application_process/backend.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
[program:backend] | ||
command=/opt/appsmith/run-with-env.sh /opt/appsmith/run-java.sh | ||
priority=20 | ||
autostart=true | ||
autorestart=true | ||
startsecs=20 | ||
startretries=3 | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(program_name)s-%(ENV_HOSTNAME)s.log | ||
autostart=true | ||
priority=20 | ||
redirect_stderr=true | ||
stdout_logfile_maxbytes=10MB | ||
stderr_logfile_maxbytes=10MB | ||
stdout_logfile_backups=10 | ||
stderr_logfile_backups=10 | ||
stdout_events_enabled=true | ||
startretries=3 | ||
startsecs=20 | ||
stderr_events_enabled=true | ||
stderr_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stderr.log | ||
stderr_logfile_backups=0 | ||
stderr_logfile_maxbytes=30MB | ||
stdout_events_enabled=true | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stdout.log | ||
stdout_logfile_backups=0 | ||
stdout_logfile_maxbytes=30MB |
20 changes: 10 additions & 10 deletions
20
deploy/docker/fs/opt/appsmith/templates/supervisord/application_process/editor.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[program:editor] | ||
command=/opt/appsmith/run-with-env.sh /opt/appsmith/run-caddy.sh | ||
priority=25 | ||
autostart=true | ||
autorestart=true | ||
startsecs=0 | ||
autostart=true | ||
priority=25 | ||
startretries=3 | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/access-%(ENV_HOSTNAME)s.log | ||
stderr_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/error-%(ENV_HOSTNAME)s.log | ||
stdout_logfile_maxbytes=10MB | ||
stderr_logfile_maxbytes=10MB | ||
stdout_logfile_backups=2 | ||
stderr_logfile_backups=2 | ||
stdout_events_enabled=true | ||
startsecs=0 | ||
stderr_events_enabled=true | ||
stderr_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stderr.log | ||
stderr_logfile_backups=0 | ||
stderr_logfile_maxbytes=30MB | ||
stdout_events_enabled=true | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stdout.log | ||
stdout_logfile_backups=0 | ||
stdout_logfile_maxbytes=30MB | ||
stopsignal=QUIT |
21 changes: 11 additions & 10 deletions
21
deploy/docker/fs/opt/appsmith/templates/supervisord/application_process/rts.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
[program:rts] | ||
directory=/opt/appsmith/rts/bundle | ||
command=/opt/appsmith/run-with-env.sh node server.js | ||
priority=15 | ||
autostart=true | ||
autorestart=true | ||
startsecs=0 | ||
startretries=3 | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(program_name)s-%(ENV_HOSTNAME)s.log | ||
autostart=true | ||
priority=15 | ||
redirect_stderr=true | ||
stdout_logfile_maxbytes=10MB | ||
stderr_logfile_maxbytes=10MB | ||
stdout_logfile_backups=2 | ||
stderr_logfile_backups=2 | ||
stdout_events_enabled=true | ||
startretries=3 | ||
startsecs=0 | ||
stderr_events_enabled=true | ||
stderr_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stderr.log | ||
stderr_logfile_backups=0 | ||
stderr_logfile_maxbytes=30MB | ||
stdout_events_enabled=true | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stdout.log | ||
stdout_logfile_backups=0 | ||
stdout_logfile_maxbytes=30MB |
21 changes: 11 additions & 10 deletions
21
deploy/docker/fs/opt/appsmith/templates/supervisord/mongodb.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
[program:mongodb] | ||
directory=/appsmith-stacks/data/mongodb | ||
command=mongod --port 27017 --dbpath . --logpath %(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/db.log --replSet mr1 --keyFile %(ENV_MONGODB_TMP_KEY_PATH)s --bind_ip localhost | ||
priority=10 | ||
autostart=true | ||
autorestart=true | ||
startsecs=10 | ||
startretries=3 | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(program_name)s.log | ||
autostart=true | ||
priority=10 | ||
redirect_stderr=true | ||
stdout_logfile_maxbytes=10MB | ||
stderr_logfile_maxbytes=10MB | ||
stdout_logfile_backups=2 | ||
stderr_logfile_backups=2 | ||
stdout_events_enabled=true | ||
startretries=3 | ||
startsecs=10 | ||
stderr_events_enabled=true | ||
stderr_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stderr.log | ||
stderr_logfile_backups=0 | ||
stderr_logfile_maxbytes=30MB | ||
stdout_events_enabled=true | ||
stdout_logfile=%(ENV_APPSMITH_LOG_DIR)s/%(program_name)s/%(ENV_HOSTNAME)s-stdout.log | ||
stdout_logfile_backups=0 | ||
stdout_logfile_maxbytes=30MB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters