You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i'm logging, i'm logging in a file for being able to store all the results of an import and check everything was fine, this can be usefull especially if the import is something automated.
For this I'm using this script of my creation https://github.com/BeAPI/bea-logger, it works like yours (logging levels etc.) .
Maybe implementing something like this can be usefull ?
Thanks for the work on this subject :)
The text was updated successfully, but these errors were encountered:
The logger interface here is actually PSR-3-compatible, so you can use existing projects here like monolog with no trouble. :)
Specifically for this use case, if you're running the importer from the command line, tee is incredibly helpful:
wp wxr-importer import file.xml | tee import.log
This will output the log to stdout as it goes, as well as saving a copy to the file. :)
Once we get the admin UI working in #1, logging to a file is probably something we'll want to do too. I'll definitely keep it in mind. Thanks for the comment!
Hi,
When i'm logging, i'm logging in a file for being able to store all the results of an import and check everything was fine, this can be usefull especially if the import is something automated.
For this I'm using this script of my creation https://github.com/BeAPI/bea-logger, it works like yours (logging levels etc.) .
Maybe implementing something like this can be usefull ?
Thanks for the work on this subject :)
The text was updated successfully, but these errors were encountered: