Hi Naji,
Some documentation exists for the File logger in the Dia Sphinx documentation. You can get it by going to here: https://developer.idigi.com/home.do
You’ll have to register an account, but afterwards can login and select the documentation link on the left hand side, then select the Dia’s documentation link.
To answer some questions that are not in the documentation:
What is the format of the log file? Can we import that into a database to create graphs?
The log file is a proprietary format designed for Digi’s platforms, and is not intended to be read directly through a text editor or a spreadsheet program. The reasons for this was to improve performance on the platform and save flash space.
With that said, a user has a few options in importing the file logger contents into another format or into a database store.
The first step will be to copy the log file to a PC with the Dia source on it. You’ll get better network savings if you transfer it in its compressed form rather than through queries.
Once you have the log file, you can run the Dia locally using the presentation of choice and file logger directed at the file. NOTE It is critical that you use only the file logger and a presentation while doing this. Otherwise you risk having log entries being overwritten The viable presentations are: RCI, Console and XMLRPC. I would recommend using the XMLRPC presentation.
I’m assuming that in the second step you used the XMLRPC presentation. Using a XMLRPC client of your choice, set the active logger in the presentation to the file logger, then query it as you want to extract entries.
The other presentations follow the same procedure, just using whatever communication protocol they entail. For advanced users who are familiar with scripting, the Console presentation and a good regex may be the better way, due to the logger_iterate command.
Hope that answers your questions,
Max