mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:33:30 +02:00
Add a new log priority: important. Should make it easier to display interesting non-error messages.
This commit is contained in:
@@ -41,7 +41,7 @@ module.exports = syrup.serial()
|
||||
.catch(grouputil.NoGroupError, function() {
|
||||
currentGroup = newGroup
|
||||
|
||||
log.info('Now owned by "%s"', currentGroup.email)
|
||||
log.important('Now owned by "%s"', currentGroup.email)
|
||||
log.info('Subscribing to group channel "%s"', currentGroup.group)
|
||||
|
||||
channels.register(currentGroup.group, timeout || options.groupTimeout)
|
||||
@@ -64,7 +64,7 @@ module.exports = syrup.serial()
|
||||
plugin.leave = function() {
|
||||
return plugin.get()
|
||||
.then(function(group) {
|
||||
log.info('No longer owned by "%s"', group.email)
|
||||
log.important('No longer owned by "%s"', group.email)
|
||||
log.info('Unsubscribing from group channel "%s"', group.group)
|
||||
|
||||
channels.unregister(group.group)
|
||||
|
||||
Reference in New Issue
Block a user