Skip to content

Commit 76e7cc7

Browse files
committed
BE: Removal of stdout.log
1 parent 491225d commit 76e7cc7

22 files changed

Lines changed: 80 additions & 57 deletions

.devcontainer/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ ENV LOG_STDERR=${NETALERTX_LOG}/stderr.log
8989
ENV LOG_APP_PHP_ERRORS=${NETALERTX_LOG}/app.php_errors.log
9090
ENV LOG_EXECUTION_QUEUE=${NETALERTX_LOG}/execution_queue.log
9191
ENV LOG_REPORT_OUTPUT_JSON=${NETALERTX_LOG}/report_output.json
92-
ENV LOG_STDOUT=${NETALERTX_LOG}/stdout.log
9392
ENV LOG_CRON=${NETALERTX_LOG}/cron.log
9493
ENV LOG_NGINX_ERROR=${NETALERTX_LOG}/nginx-error.log
9594

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ ENV LOG_STDERR=${NETALERTX_LOG}/stderr.log
8686
ENV LOG_APP_PHP_ERRORS=${NETALERTX_LOG}/app.php_errors.log
8787
ENV LOG_EXECUTION_QUEUE=${NETALERTX_LOG}/execution_queue.log
8888
ENV LOG_REPORT_OUTPUT_JSON=${NETALERTX_LOG}/report_output.json
89-
ENV LOG_STDOUT=${NETALERTX_LOG}/stdout.log
9089
ENV LOG_CRON=${NETALERTX_LOG}/cron.log
9190
ENV LOG_NGINX_ERROR=${NETALERTX_LOG}/nginx-error.log
9291

Dockerfile.debian

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ ENV LOG_STDERR=${NETALERTX_LOG}/stderr.log
6161
ENV LOG_APP_PHP_ERRORS=${NETALERTX_LOG}/app.php_errors.log
6262
ENV LOG_EXECUTION_QUEUE=${NETALERTX_LOG}/execution_queue.log
6363
ENV LOG_REPORT_OUTPUT_JSON=${NETALERTX_LOG}/report_output.json
64-
ENV LOG_STDOUT=${NETALERTX_LOG}/stdout.log
6564
ENV LOG_CRON=${NETALERTX_LOG}/cron.log
6665
ENV LOG_NGINX_ERROR=${NETALERTX_LOG}/nginx-error.log
6766

docs/API_LOGS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ Only specific, pre-approved log files can be purged for security and stability r
1212

1313
**Query Parameter:**
1414

15-
* `file` → The name of the log file to purge (e.g., `app.log`, `stdout.log`)
15+
* `file` → The name of the log file to purge (e.g., `app.log`)
1616

1717
**Allowed Files:**
1818

1919
```
2020
app.log
2121
IP_changes.log
22-
stdout.log
2322
stderr.log
2423
app.php_errors.log
2524
execution_queue.log

docs/API_OLD.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ This API endpoint retrieves files from the `/tmp/log` folder.
352352
| `report_output.json` | JSON format report output |
353353
| `report_output.txt` | Text format report output |
354354
| `stderr.log` | Logs of standard error output |
355-
| `stdout.log` | Logs of standard output |
356355

357356

358357
## API Endpoint: /config files

docs/DOCKER_COMPOSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ However, if you prefer to have direct, file-level access to your configuration f
170170
```
171171

172172
**After (Using a Local Folder / Bind Mount):**
173+
173174
Make sure to replace `/local_data_dir` with your actual path. The format is `<path_on_your_computer>:<path_inside_container>:<options>`.
174175

175176
```yaml

docs/PLUGINS_DEV.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ See: [UI Components](PLUGINS_DEV_UI_COMPONENTS.md)
352352
- **Settings Helper:** `/app/server/helper.py` - Use `get_setting_value()` in scripts
353353
- **Example Plugins:** `/app/front/plugins/*/` - Study working implementations
354354
- **Logs:** `/tmp/log/plugins/` - Plugin output and execution logs
355-
- **Backend Logs:** `/tmp/log/stdout.log` - Core system logs
355+
- **Backend Logs:** `/tmp/log/app.log` - Core system logs
356356

357357
---
358358

docs/PLUGINS_DEV_DATASOURCES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ sqlite> SELECT ... ;
364364

365365
```bash
366366
# Watch backend logs
367-
tail -f /tmp/log/stdout.log | grep -i "data_source\|MYPREFIX"
367+
tail -f /tmp/log/app.log | grep -i "data_source\|MYPREFIX"
368368
```
369369

370370
---

docs/PLUGINS_DEV_DATA_CONTRACT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ cat /tmp/log/plugins/last_result.YOURPREFIX.log | awk -F'|' '{print NF}' | sort
245245

246246
**Check core processing in logs:**
247247
```bash
248-
tail -f /tmp/log/stdout.log | grep -i "YOURPREFIX\|Plugins_Objects"
248+
tail -f /tmp/log/app.log | grep -i "YOURPREFIX\|Plugins_Objects"
249249
```
250250

251251
## See Also

docs/PLUGINS_DEV_QUICK_START.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ ls -la /tmp/log/plugins/last_result.MYPLN.log
143143
cat /tmp/log/plugins/last_result.MYPLN.log
144144

145145
# Check backend logs for errors
146-
tail -f /tmp/log/stdout.log | grep "my_plugin\|MYPLN"
146+
tail -f /tmp/log/app.log | grep "my_plugin\|MYPLN"
147147
```
148148

149149
## Next Steps
@@ -162,7 +162,7 @@ Now that you have a working basic plugin:
162162
|-------|----------|
163163
| "Module not found" errors | Ensure `sys.path` includes `/app/server` and `/app/front/plugins` |
164164
| Settings not appearing | Restart backend and clear browser cache |
165-
| Results not showing up | Check `/tmp/log/plugins/*.log` and `/tmp/log/stdout.log` for errors |
165+
| Results not showing up | Check `/tmp/log/plugins/*.log` and `/tmp/log/app.log` for errors |
166166
| Permission denied | Plugin runs in container, use absolute paths like `/app/front/plugins/...` |
167167

168168
## Resources

0 commit comments

Comments
 (0)