This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Flashlog Backend - not all logs available afte reset

I am able to log information to the flashlog backend. When I use the cli interface "flashlog read" I see my information stored (e.g. "operation took %s seconds to complete", seconds)

After a reset this information does not appear in "flashlog read", but issues with the same priority level (e.g "Logger configuration file not found") do appear... 

How can I ensure that my information (with a variable part) is stored to flash and visible after a reset?

Parents
  • Hi

    If the flashlog is initialized and enabled the logs should be stored until the flash memory is erased. What pages of the flash is the flashlog supposed to write to in your application? Can you show me how you initialize, configure and enable the flashlog module in your application? Also, are you able to provide an error code of some kind?

    Best regards,

    Simon

    PS: The Holiday season is upon us, which will leave us understaffed until January 6th, 2020. This means that delayed replies will occur during this time. Sorry about the inconvenience and happy Holidays!

Reply
  • Hi

    If the flashlog is initialized and enabled the logs should be stored until the flash memory is erased. What pages of the flash is the flashlog supposed to write to in your application? Can you show me how you initialize, configure and enable the flashlog module in your application? Also, are you able to provide an error code of some kind?

    Best regards,

    Simon

    PS: The Holiday season is upon us, which will leave us understaffed until January 6th, 2020. This means that delayed replies will occur during this time. Sorry about the inconvenience and happy Holidays!

Children
Related