[[TranslatedPages]] [[PageOutline]] = Client Logs of ogAdmClient = Logs(1) of the client are generated by the binary ogAdmClient(2) that it is automatically run by the client initrd from file init/default(3) (1) log file of the client.[[BR]] Only access form the client (version 0.9): /var/log/opengnsys.log (2) binary ogAdmClient[[BR]] Located in the server on: /opt/opengnsys/client/bin/ogAdmClient[[BR]] Access from the client: /opt/opengnsys/bin/ogAdmClient[[BR]] (3) init/default.sh file[[BR]] Located in the server on: /opt/opengnsys/client/etc/init/default.sh [[BR]] Access (nfs) from the client: /opt/opengnsys/etc/init/default.sh == Change log information level == The log information level is controlled by -d parameter on the binary ogAdmClient[[BR]] In version 0.9 this level is by default (skip parameter -d)[[BR]] If you have problems with the client for report with the server, and you need more detailed information:[[BR]] We can modify the init/default.sh file[[BR]] {{{ $OPENGNSYS/bin/ogAdmClient -f $OPENGNSYS/etc/ogAdmClient.cfg -l $OGLOGFILE -d 4 }}} = Temporal clients logs for group OG = * Log file of ogAdmclient is /opt/var/opengnsys.log * Log file of commands sent from web console. * Changes on /opt/opengnsys/client/etc/init/default file before the call to ogAdmclient {{{ #Link file ogAdmclient (start log) with cosole log (/opt/opengnsys/log/$IP.log) IP=`$GetIpAddress` OGGLOBALLOGFILE=/opt/opengnsys/log/$IP.log touch $OGGLOBALLOGFILE OGLOGFILE=/var/log/opengnsys.log ln -s $OGGLOBALLOGFILE $OGLOGFILE # Client terminal tail -f $OGLOGFILE &> /dev/tty2 & }}} * Changes on scripts /opt/opengnsys/client/scripts/admXXXXX {{{ ## Example of admCreateImage #!/bin/bash RETORNO=$(createImage $* &>/var/log/opengnsys.log) || exit $? exit 0 }}} * Access to client log in real time {{{ tail -f /opt/opengnsys/log/client/$IP.log }}} = LOG examples = == From browser console of the client == Different information levels for a client, with a partitioned disk but not formated. Level by default.[[BR]] [[Image(OGClientLOGdebugdefault.png, 70%)]] Level 3[[BR]] [[Image(OgClientLOGdebug3.png, 70%)]] Level 4[[BR]] [[Image(OGClientLOGdebug5-A.png, 70%)]] [[Image(OGClientLOGdebug5-B.png, 50%)]]