Synticore Builder Guide - Log Guide
Purpose
This page explains where logs are written and how to use them during normal project debugging.
If you need formatter implementation details, use Synticore Developer Docs - Cure Time.
Log Locations
Compiler-Root Logs
Located in <compiler-root>/_log/:
_log/gulpfile.logfor compiler and gulp pipeline output_log/gui.logfor GUI runtime output_log/setup.logfor setup script output
Project-Root Logs
Located in <project-root>/_log/:
_log/task_<task-name>.logfor per-task execution logs
Examples:
_log/task_build.log_log/task_watch.log_log/task_project_update_full.log
Which Log To Read First
Build Or Task Failures
<project>/_log/task_<task>.log<compiler>/_log/gulpfile.log
GUI Issues
<compiler>/_log/gui.log<compiler>/_log/gulpfile.logif the issue occurs while launching a task
Setup Issues
<compiler>/_log/setup.log
Project Logging Config
cure-log supports configurable timestamp formatting through config/log.json.
Example:
{
"timestamp": {
"format": "YYYY-MM-DD HH:mm:ss z",
"zone": "local",
"locale": "auto"
}
}
config/log.json can also be empty:
{}
For project task runs, you can provide a project-specific logger config at:
<project-root>/log.json
This lets one project use different log formatting without changing compiler-wide config.
For a short mental model of which config/state files are builder-owned versus tool-owned, use Synticore Builder Guide - Config Ownership.
Ownership summary:
config/log.jsonis compiler-checkout-level log config<project>/log.jsonis project-specific log config_log/files are output, not config
Useful format examples:
isoYYYY-MM-DD HH:mm:ss zdddd, MMMM D, YYYY [at] h:mm:ss A z
For formatter internals and token behavior, see Synticore Developer Docs - Cure Time.
Common Debugging Workflows
Reproduce And Read The Task Log
Run the failing task directly, then inspect the matching task log.
Example:
npm run gulp build -- --project "<path>"
Then inspect:
<project>/_log/task_build.log<compiler>/_log/gulpfile.logif needed
PowerShell Tail
Get-Content .\\project\\example\\min\\_log\\task_build.log -Tail 200
For live tail while a task runs:
Get-Content .\\project\\example\\min\\_log\\task_watch.log -Wait
Baseline Diagnostics
npm run gulp about -- --project "<path>"
npm run gulp build -- --project "<path>"
Migration Diagnostics
npm run gulp project_update_full -- --project "<path>"
Then inspect:
<project>/_log/task_project_update_full.log<compiler>/_log/gulpfile.log
Cleanup
Safe to delete any time:
<compiler-root>/_log/*<project-root>/_log/*
Logs are recreated on the next GUI, task, or setup run.
This makes logs safe to inspect and safe to clear, but not a place to store lasting configuration.
When Reporting An Issue
Include:
- the exact command you ran
- the selected project path
- the relevant
<project>/_log/task_<task>.log <compiler>/_log/gulpfile.log- the
config.jsonexcerpt around the affected option namespace
If you are still in the "what should I try first?" stage rather than reporting a bug yet, use Synticore Builder Guide - Troubleshooting.