<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’ve restructured the log commands a bit:<div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class="">The old "level <severity>” command has moved to "log level <severity>"<br class=""><br class=""></li><li class="">A new “log file <path>” command has been added. For example “log file /sd/log.txt” will mean that anything that gets logged to the console will also get appended to /sd/log.txt as well, until reboot. You can use /sd (if SD CARD is working for you), or /store (but take care - that is system flash).<br class=""><br class=""></li><li class="">You should be able to hook this in at the “sd.mounted” event script, to turn on logging to sd card on boot (again, if SD CARD is working for you).</li></ul><div><br class=""></div><div>Enjoy, Mark</div><div><br class=""><blockquote type="cite" class=""><div class=""> Branch: refs/heads/master</div><div class=""><div class="">  Home:   <a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3</a><br class="">  Commit: 6947670e33823dd68d4bf76b7872518fc8398264<br class="">      <a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/commit/6947670e33823dd68d4bf76b7872518fc8398264" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/commit/6947670e33823dd68d4bf76b7872518fc8398264</a><br class="">  Author: Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>><br class="">  Date:   2018-01-08 (Mon, 08 Jan 2018)<br class=""><br class="">  Changed paths:<br class="">    M vehicle/OVMS.V3/main/console_async.cpp<br class="">    M vehicle/OVMS.V3/main/ovms_command.cpp<br class="">    M vehicle/OVMS.V3/main/ovms_log.h<br class="">    M vehicle/OVMS.V3/main/ovms_main.cpp<br class=""><br class="">  Log Message:<br class="">  -----------<br class="">  Add support for "log file ..." to log to the specified vfs file<br class=""></div></div></blockquote><br class=""></div></div></body></html>