Skip to content

Cannot create the log file #296

@aberinnj

Description

@aberinnj

Running the exporter produces the following output

time=2025-08-06T16:23:39.215-05:00 level=INFO source=alertlog.go:41 msg="Log destination file does not exist, will try to create it: /opt/alert.log" database=default
time=2025-08-06T16:23:39.215-05:00 level=ERROR source=alertlog.go:44 msg="Failed to create the log file: /opt/alert.log" database=default

Parts of the config file

log:
  # Path of log file
  destination: /opt/alert.log
  # Interval of log updates
  interval: 15s
  ## Set disable to 1 to disable logging
  # disable: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions