Skip to content

Doxygen WARN_LOGFILE needs to create folder #9935

Closed
@Ryanf55

Description

@Ryanf55
          Hey there, if this log file has a foldername in it, but the folder does not exist, this call is not creating the folder. Then, the log error message appears, and then my CI instance looking for the log output in that folder does not find it.

Originally posted by @Ryanf55 in #9792 (comment)

Creating this issue to show an error condition that is swallowed by Doxygen. I would expect folders to created.

Example:

Set the following options:

WARN_LOGFILE  = foo/bar/errors.log
WARN_AS_ERROR = FAIL_ON_WARNINGS_PRINT

without the foo/bar folder existing. It fails to open the file, and then errors are redirected to stdout.

When I then use doxygen-junit to parse the doxygen results, the log doesn't exist and it fails.

This was recently added in #9792.

Perhaps it can be fixed before the next release? I really love this feature. Combined with Junit parsing, I can now have my CI results show up directly in Gitlab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to enhance doxygen, not a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions