File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ DEPLOYSTACK_ENCRYPTION_SECRET=your-32-character-secret-key-here # Required for
200200DeployStack uses ** Pino** logger with ** Fastify** for high-performance, structured logging:
201201
202202** Available Log Levels** (in order of severity):
203+
203204- ` trace ` (10) - Very detailed debugging information
204205- ` debug ` (20) - Debugging information for development
205206- ` info ` (30) - General information (default for production)
@@ -208,11 +209,13 @@ DeployStack uses **Pino** logger with **Fastify** for high-performance, structur
208209- ` fatal ` (60) - Fatal errors that cause application termination
209210
210211** Environment-based Defaults:**
212+
211213- ** Development** : ` debug ` level with pretty-printed, colorized output
212214- ** Production** : ` info ` level with structured JSON output
213215- ** Override** : Set ` LOG_LEVEL ` environment variable to any level
214216
215217** Examples:**
218+
216219``` bash
217220# Show all logs including debug info
218221LOG_LEVEL=debug npm run dev
@@ -225,6 +228,7 @@ LOG_LEVEL=error npm run start
225228```
226229
227230** Log Output Formats:**
231+
228232- ** Development** : ` [2025-07-03 10:48:06.636 +0200] INFO: ✅ Database initialization completed `
229233- ** Production** : ` {"level":30,"time":"2025-07-03T08:48:06.636Z","msg":"Database initialization completed"} `
230234
You can’t perform that action at this time.
0 commit comments