Overview
If you're unable to see logs in the UmbPanel log viewer, or the log view appears empty, this is typically because your Umbraco application is configured to write logs to files on disk rather than to the container's console output. UmbPanel displays logs from the console output (stdout/stderr) which Docker captures automatically.
Why This Happens
By default, many Umbraco applications are configured to write logs to the /umbraco/Logs directory as files. While this works fine for traditional hosting, containerized applications should write logs to console output for better visibility and management.
Quick Check
Your application is likely logging to files if:
- The UmbPanel log viewer is empty or shows no recent activity
- You have log files in your
/umbraco/Logsdirectory - Your
appsettings.jsonincludes a "File" sink in the Serilog configuration
Solution
You need to configure your Umbraco application to write logs to the console.