Commit 8c9fa38c authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor change to logging; set the filename to pgwrapper.

parent a53b66e1
......@@ -407,7 +407,14 @@ if (!defined($group)) {
die("*** $0:\n".
" Could not resolve lookup group $GENIGROUP\n");
$logfile = Logfile->Create($group);
my $logfilename = TBMakeLogname("pgwrapper");
# So tbops people can read the files ...
if (!chmod(0664, $logfilename)) {
die("*** $0:\n".
" Could not chmod $logfilename\n");
$logfile = Logfile->Create($group, $logfilename);
if (!defined($logfile)) {
die("*** $0:\n".
" Could not create a new logfile\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment