Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Viewing the logs

If you wish to look at the Opal server or DataSHIELD logs:

  • Login into the Opal server using the console window for the Virtual Machine
  • Change to directory"/var/log/opal" 
    cd /var/log/opal
  • List the contents using:

     ls -lt

    (the "-lt" command instructs it to list in order of most recent change

  • The directory contains four log files:  
    • datashield.log
    • opal.log
    • rest.log
    • stdout.log

Monitoring Logging

If you wish to create a blank slate to view what logs are created as you try to recreate a problem on the opal server, you can clear out the logs using the following steps.

If you want to see the logs from a previous error, don't proceed with this clearing process.

Firstly, delete anything with a hyphen in the file name:

 

Then map blank contents into the four remaining files (effectively the same as deleting the contents of them.

 


The command  

tail -n 0 -f

is useful for monitoring logging, for example, "tail -n 0 -f stdlog.log".

  • No labels