This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-kafka.git
The following commit(s) were added to refs/heads/master by this push:
new c195b5e fix logging timestamp format (#175)
c195b5e is described below
commit c195b5e87c5cf861b170875bfb4d2bd7ce427cca
Author: Justin Berstler <[email protected]>
AuthorDate: Fri May 12 07:13:51 2017 -0400
fix logging timestamp format (#175)
---
provider/app.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/provider/app.py b/provider/app.py
index abe0bd5..7263339 100644
--- a/provider/app.py
+++ b/provider/app.py
@@ -220,7 +220,7 @@ def main():
# Make sure we log to the console
streamHandler = logging.StreamHandler()
- formatter = logging.Formatter('[%(asctime)s] [%(levelname)s] [??]
[kafkatriggers] %(message)s')
+ formatter = logging.Formatter('[%(asctime)s.%(msecs)03dZ] [%(levelname)s]
[??] [kafkatriggers] %(message)s', datefmt="%Y-%m-%dT%H:%M:%S")
streamHandler.setFormatter(formatter)
logger.addHandler(streamHandler)
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].