DX Application Performance Management

  • 1.  WebView Log File Type Change

    Posted Mar 13, 2018 08:44 AM

    Hi,

     

    I have not seen this before and was wondering if anyone had any insights. This morning when going to look at the WebView log file I noticed that the log file changed from a ".log" file to a ".log.gz" file. There were no changes made recently so I am not sure why all of a sudden the log file type would change.

     

    I tried renaming the log file back to ".log" however the file is still unreadable What would have caused the log files to change and what would the remedy be to correct this issue (Delete the current logs directory then recycle WebView and MOM?)?

     

    Thanks!

    Sam



  • 2.  Re: WebView Log File Type Change

    Broadcom Employee
    Posted Mar 13, 2018 09:44 AM

    The gz extension is a zipped file done by gzip on Linux.

     

    Without seeing a directory listing, sounds like your log rolled over and backed up.  You can't rename mylog.gz to mylog.log and read it.  gzip is a compression/decompression utility on Linux.

     

    You can read more on gzip by typing 'man gzip' on the command line.



  • 3.  Re: WebView Log File Type Change

    Posted Mar 13, 2018 11:02 AM

    The directory looked like the following:

    IntroscopeWebView.log.gz
    IntroscopeWebView.log.1.gz
    IntroscopeWebView.log.2.gz
    IntroscopeWebView.log.3.gz
    IntroscopeWebView.log.4.gz

    WebView_Startup.err

    WebView_Startup.out

     

    The log files have never backed up on its own before. We currently have our log files roll over but not backup and create a compressed file. 

     

    I uncompressed the log files and they now look like the following:

    IntroscopeWebView.log
    IntroscopeWebView.log.1
    IntroscopeWebView.log.2
    IntroscopeWebView.log.3
    IntroscopeWebView.log.4

    WebView_Startup.err

    WebView_Startup.out

     

    I'm confused as to why it create a compressed file of the active log file (ie. IntroscopeWebView.log). There hasn't been any changes to my knowledge or anyone backing up the logs.



  • 4.  Re: WebView Log File Type Change
    Best Answer

    Broadcom Employee
    Posted Mar 13, 2018 01:04 PM

    That is how Linux log rolling works.