Skip to content

standalone program for sending logs to the logCollector

Notifications You must be signed in to change notification settings

HCALRunControl/HCALlogSender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple script to send messages to the logCollector

To build, go on a teststand machine with RCMS installed (not cmsrc-hcal or cms904rc-hcal, as production machines are installed differently than teststand machines). Then:

    daqowner:~ # cd /home/daqowner/TriDAS
    daqowner:~/TriDAS # git clone git@github.com:HCALRunControl/HCALlogSender.git
    daqowner:~/TriDAS # cd HCALlogSender
    daqowner:~/TriDAS/HCALlogSender # ant

the compiled library HCALlogSender.jar will show up in the jars subdirectory

to run:

  • copy ~daqowner/TriDAS/jars/HCALlogSender.jar to your home directory on cmsusr.
  • it needs to be run on a machine on the cmsusr network with java1.8 installed (e.g. x2go01).
  • to send e.g. the message "this is a test error!" to the logCollector logs:
    myusername@x2go01:~ # java -jar HCALlogSender.jar 'this is a test error!'

About

standalone program for sending logs to the logCollector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages