diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-07-01 11:18:31 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-07-01 11:18:31 +0100 |
commit | bcbe90e230c79f61b0a27d652d9c6789d62c083c (patch) | |
tree | f218cc8ae1b46034b099d1919486724793503191 | |
parent | f2e8125be82c31e4646f7873a4fb4b1c05159edd (diff) | |
download | gitano-bcbe90e230c79f61b0a27d652d9c6789d62c083c.tar.gz |
REPOSITORY: Re-level a bunch of logging
-rw-r--r-- | lib/gitano/repository.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/gitano/repository.lua b/lib/gitano/repository.lua index e06ed36..63a7297 100644 --- a/lib/gitano/repository.lua +++ b/lib/gitano/repository.lua @@ -351,7 +351,7 @@ function repo_method:set_owner(newowner) self.owner = oldowner return nil, msg end - log.info("<" .. self.name .. "> Set owner to <" .. newowner .. ">") + log.state("<" .. self.name .. "> Set owner to <" .. newowner .. ">") return true end @@ -363,7 +363,7 @@ function repo_method:set_description(newdesc) self.description = olddesc return nil, msg end - log.info("<" .. self.name .. "> Changed description") + log.state("<" .. self.name .. "> Changed description") return true end @@ -378,7 +378,7 @@ function repo_method:set_head(newhead) self.head = oldhead return nil, msg end - log.info("<" .. self.name .. "> Set head to <" .. newhead .. ">") + log.state("<" .. self.name .. "> Set head to <" .. newhead .. ">") return true end @@ -394,10 +394,10 @@ function repo_method:generate_confirmation() end table.sort(refnames) local str = "" - log.info("Calculating confirmation token for", self.name) + log.debug("Calculating confirmation token for", self.name) for i = 1, #refnames do local ref, sha = refnames[i], refs[refnames[i]] - log.info(ref, "@", sha) + log.ddebug(ref, "@", sha) str = str .. ref .. "@" .. sha .. "\n" end return self.git:hash_object("blob", str, false) or "ARGH!" |