Skip to content

logger is broken for utils #90

@JaeseungYeom

Description

@JaeseungYeom

I am build it with -DDYAD_LOGGER=FLUX. The compilation error is coming from the attempt to de-reference a NULL pointer.

DYAD_LOG_DEBUG (NULL, "DYAD UTIL: buffer is too small.\n");
      |         ^~~~~~~~~~~~~~
/src/dyad/common/dyad_logging.h:36:57: error: request for member ‘h’ in something not a structure or union
   36 | #define DYAD_LOG_DEBUG(dyad_ctx, ...) flux_log (dyad_ctx->h, LOG_DEBUG, __VA_ARGS__);

Another issue which is separate is the default logger did not record anything when dyad crashed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions