logDBcommand.Rd
log a command that changes a database
logDBcommand( type, sql = "", user = "NA", log.dir = NULL, table = NULL, do.log = TRUE )