I understood that, the mender have logs and we can pipe/grep the logs to get the required data.
But, this is not something recommended to use in our project
Hence, I would like to know, how to get the update progress from mender client in standalone mode? Whether I can get the progress via a state script? Should I edit the mender client source to get the progress directly to a file (or some global variable which can pass the progress data to C application)?
Apart from progress, we also need to get the update/fail/rollback status via better API calls which do not have these logs grepping and parsing method.
Please let me know how to achieve this