Skip to content

Test: Logging service #39572

@joaomoreno

Description

@joaomoreno

Tests #3157

Complexity: 3

There is now a logging service across all Code processes. Unfortunately there aren't a lot of log statements currently, so you won't see much in the log files yet.

  • Use the Logs: Show Logs... global command to see the logs
  • Use the Logs: Open Logs Folder to show the folder where the logs are placed. It will show you the folder of the current log session. There should be previous sessions next to the current one.
  • Use the Logs: Set Log Level to change the log level of the current renderer (Allow to change the log level of all log services at runtime #39574)
  • Control the log level using the --log [info|error|...] cli flag. This should control the level across all processes.
  • Make sure the old --verbose behaviour still works as before
  • Make sure there's never more than 10 logging sessions on disk (Code will clean those folders up 10 seconds after startup). There's a new logging session per main process execution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions