Persistent Logging

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #47761
    beefy
    Participant
    • Total Post: 37
    • Frequent Flyer
    • ★★★

    I would like to enable persistent logging on all of our thin clients.  We have approximately 150 devices (5040 AIO, 5010) all running firmware version 8.5_017.

    Is it possible to do this in WMS or is it just available to the ftp/http server?  Ideally it would be nice to have them easily accessible in one place.  Just trying to avoid loosing the logs every time the device reboots.  Probably would like to keep them 7 days at most.

    I have doing a little exploration into this, but I do not think I am configuring this correctly.

    #47762
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    You will need a ftp server for that.
    Add
    Privilege=High EnableTrace=yes
    SaveSysinfo=ftp://1.1.1.1/logs/$mac.log append=yes
    or similar to the Adveanced section of the WMS server, whereas 1.1.1.1 is the IP address of your fileserver

    CG

    #48310
    beefy
    Participant
    • Total Post: 37
    • Frequent Flyer
    • ★★★

    Sorry to revisit this old thread.  Is there any reason why a log file would be disappearing?  I have this configured on 3 devices and it appears the log file will be removed after a few minutes.  Then it will reappear when there is activity on the device.  Should the file just be there permanently?

    Here’s the config I am using:

     

    CCMEnable=Yes DebugLevel=2

    EnableTrace=yes

    SaveSysinfo=ftp://xxx.xxx.xxx.xxx/Wyse/wnos/trace/$mac-log.txt append=yes size=10000000

     

    #48311
    beefy
    Participant
    • Total Post: 37
    • Frequent Flyer
    • ★★★

    I also noticed this in the event logs.  Not sure where the http site is configured.  The event happens on a badge swipe.

    10:49:31.001 Invalid statement: EnableTrace
    10:49:31.005 Checking Software http:/wnos/PD10_wnos …
    10:49:32.001 Contacting SNTP [pool.ntp.org] …
    10:49:32.002 Contacting OneSign Server …
    10:49:32.009 Event Log: output to ftp://xxx.xxx.xxx.xxx/Wyse/wnos/trace/008064cf74ed-log.txt
    10:53:44.835 http://xxx.xxx.xxx.xxx/Wyse//wnos/ini/jentringer.ini: error code 404(404 – File or directory not found.)
    10:53:44.989 Connection broker is initialized
    10:53:45.156 [Horizon]Init
    10:53:53.647 [Horizon]Exit

    #48312
    beefy
    Participant
    • Total Post: 37
    • Frequent Flyer
    • ★★★

    So the log will stay there, but after 6 minutes of inactivity, it will disappear.

    #48325
    ConfGen
    Keymaster
    • Total Post: 10696
    • Jedi Master
    • ★★★★★★★

    Anything related in your FTP logs?

    CG

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.