Logic Machine Forum
write "object log", "alert", "error log", "log" to USB 8Gb Kington! - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: write "object log", "alert", "error log", "log" to USB 8Gb Kington! (/showthread.php?tid=1110)



write "object log", "alert", "error log", "log" to USB 8Gb Kington! - phongvucba - 26.11.2017

Heart Heart Heart Hi everybody! hope everyone help me!
I want to know the object (log) before I can not access lm3. Because when lm3 fails, I can not access lm3, so I can not see the log object.

i have a usb plug into usb port of lm3. You can write a script to store the "Object log" on lm3 on this usb. For each error, we can read the "object log" on the computer, history.
If there is a script for the "Alert", "error log", "log" is too good and too full.
I thank everyone! This forum is great! ^, ^


RE: write "object log", "alert", "error log", "log" to USB 8Gb Kington! - phongvucba - 05.12.2017

Please help me!
Up up..Sad


RE: write "object log", "alert", "error log", "log" to USB 8Gb Kington! - Erwin van der Zwart - 05.12.2017

Hi,

You can combine these 2 articels to create the script you need:

For writing to USB:

http://openrb.com/example-readwrite-file-to-lm2-connected-usb-flash/

For fetching the object log:

http://openrb.com/example-export-last-hour-csv-object-log-file-to-external-ftp-server-from-lm2/

BR,

Erwin


RE: write "object log", "alert", "error log", "log" to USB 8Gb Kington! - phongvucba - 07.12.2017

I read and do not understand! Can you write specifically for me? I am in Vietnam so this language is a little difficult to express. One side is the FTP service, one is the USB storage device. I want to use a USB flash drive
Please help me help me !


RE: write "object log", "alert", "error log", "log" to USB 8Gb Kington! - phongvucba - 21.02.2018

Please help me !
If USB is difficult to implement? Has anyone done with sending logs via email?
I'm happy to have everyone help!
/Sad


RE: write "object log", "alert", "error log", "log" to USB 8Gb Kington! - phongvucba - 26.02.2018

Please help me!
anyone has information! I very happy, thank so much!


RE: write "object log", "alert", "error log", "log" to USB 8Gb Kington! - admin - 26.02.2018

Writing to USB does not make a lot of sense because you have to remove USB if you need to access data. I suggest using e-mail or FTP.

See this topic on how to send e-mails with attachments:
https://forum.logicmachine.net/showthread.php?tid=394