Goddard-Fortran-Ecosystem / pFlogger

A parallel Fortran logger (based on the design of the Python logger)
Other
18 stars 8 forks source link

handleScalar() :: unsupported type (possibly rank > 5?) #7

Closed pburgos closed 5 years ago

pburgos commented 5 years ago

Using pFlogger from Master. Trying to log an error message results in the following line in my logger file.

handleScalar() :: unsupported type (possibly rank > 5?)

I tried error messages like the ones that appears in the examples.

image

image

pburgos commented 5 years ago

The problem was not in the code else in the examples. I used configuration files from:

In that examples the "formatters" are using %(levelName)a as format string. That should be %(level_name)a instead, as stated in pFlogger/src/FastFormatter.F90 . After that change, everything worked as expected.

tclune commented 5 years ago

@pburgos Thank you for spotting that, and my apologies for not having responded on this ticket sooner. The issue was created just as I returned from vacation and am only now catching up on my open source projects.