[Box Backup] Logging

Achim achim+box at qustodium.net
Thu Apr 8 15:07:33 BST 2010


Hello list:

A couple of remarks/questions/bugs on the logging front, in no particular
order. Any insights/ideas welcome!

1) Duplicate notifications
There was a discussion on the list a couple of years ago
<http://lists.warhead.org.uk/pipermail/boxbackup/2008-July/004595.html> on
the topic of surpressing duplicate notification (or not). I wanted to
suggest that at least for the read-error, backup-error and store-full
error, this should be configurable: "bang on if the user cannot be bothered
to fix the problem". I think that in the current default configuration with
surpression, scenario A) is more likely, but B) is a lot more desirable:
A) problem happens, error message is sent, problem happens again, error
message is surpressed, user thinks that problems went away
B) problem happens, error message is sent, problem happens again, error
message is sent, user is reminded about problem

2) I specified the logfile in bbackupd.conf as follows:
LogAllFileAccess = yes
LogFile = d:\test\log\bbackupd.log
LogFileLevel = notice
However, bbackupd.log is emptied at random intervals. Is this
controllable? Why doesn't bbackupd always append to the LogFile, but
decides to empty it?

3) the following error message (see last row) seems to be incorrect:
"Can't open a file -- attempted to load a non-existant config file or bad
file referenced within?" when the file is really locked by another process:
this has nothing to do with a config file:
2010-04-08 15:33:49 [WARNING] Exception thrown:
ConnectionException(Conn_SocketNameLookupError) at Socket.cpp(137)
2010-04-08 15:35:19 [WARNING] Failed to open file:
D:\docs\profiles\firefox.new\parent.lock: El proceso no tiene acceso al
archivo porque est siendo utilizado por otro proceso. (32)
2010-04-08 15:35:19 [WARNING] Exception thrown:
CommonException(OSFileOpenError) at FileStream.cpp(144)
2010-04-08 15:35:19 [ERROR]   Failed to upload file:
D:\docs\profiles\firefox.new\parent.lock: caught exception: Common
OSFileOpenError (Can't open a file -- attempted to load a non-existant
config file or bad file referenced within?) (1/2)



More information about the Boxbackup mailing list