search for: checklog

Displaying 3 results from an estimated 3 matches for "checklog".

2012 Jun 23
1
globalVariables()
...summary; it's probably not bullet-proof, but perhaps others will find it useful for packages, like the Rcmdr, that currently generate many notes about global variables: ------------- snip ------------ findGlobals <- function(filein="00check.log", fileout="globals.R"){ checklog <- readLines(filein) whichline <- which(grepl("checking R code for possible problems .* NOTE", checklog)) checklog <- checklog[-(1:whichline)] whichline <- which(grepl("checking Rd files", checklog)) checklog <- checklog[-(whichline:length(checklog))] gl...
2012 Jul 29
0
Xen networking experiment (with custom scripts and OpenVSwitch)
...exactly what the script does. Then on line 8, the $unique variable is set to a random 6 character wide string, a ''cookie'' of sorts, this is used as a log prefix so that you can see which particular instance of the script does what. Then a couple of functions are initialized. The checklog() and logmsg() functions take care of logging at the requested loglevel (set in xen.conf). This is different from line 4; logmsg is a function that logs to the console, syslog, or a file (xen.conf). The sigerr(), fatal(), success(), xenstore_read_default(), findCommand() and evalVariables() functi...
2012 Jul 30
3
Xen networking disconnect
...exactly what the script does. Then on line 8, the $unique variable is set to a random 6 character wide string, a ''cookie'' of sorts, this is used as a log prefix so that you can see which particular instance of the script does what. Then a couple of functions are initialized. The checklog() and logmsg() functions take care of logging at the requested loglevel (set in xen.conf). This is different from line 4; logmsg is a function that logs to the console, syslog, or a file (xen.conf). The sigerr(), fatal(), success(), xenstore_read_default(), findCommand() and evalVariables() functi...