Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Verbose Logging Feature.

Compare
Choose a tag to compare
@medyagh medyagh released this 18 Jun 18:42
· 21 commits to master since this release
Adding logging mechanism using python logger (#19)

* Adding logging mechanism using python logger
To get more verbose logging use -v. Beware this prints out EVERYTHING selenium does because selenium also incorporates the verbose logger

Here is the example log output

```
~/Repos/EdwinAvalos/winnaker$ winnaker -s -nlb

____    __    ____  __  .__   __. .__   __.      ___       __  ___  _______ .______
\   \  /  \  /   / |  | |  \ |  | |  \ |  |     /   \     |  |/  / |   ____||   _  \
 \   \/    \/   /  |  | |   \|  | |   \|  |    /  ^  \    |  '  /  |  |__   |  |_)  |
  \            /   |  | |  . `  | |  . `  |   /  /_\  \   |    <   |   __|  |      /
   \    /\    /    |  | |  |\   | |  |\   |  /  _____  \  |  .  \  |  |____ |  |\  \----.
    \__/  \__/     |__| |__| \__| |__| \__| /__/     \__\ |__|\__\ |_______|| _| `._____|

2017-06-18 12:45:13,812 [INFO]  Winnaker Version: 0.5.0
2017-06-18 12:45:13,812 [INFO]  Current Config: Namespace(app='edwintestapp', forcebake=False, headless=False, nolastbuild=True, nologin=False, pipeline='test', start=True, verbose=False)
2017-06-18 12:45:26,338 [INFO]  - Logged in to the spinnaker
2017-06-18 12:45:29,772 [INFO]  - Searched for application: edwintestapp
2017-06-18 12:45:34,888 [INFO]  - Selected pipeline: test successfully
2017-06-18 12:45:40,422 [INFO]  - Starting Manual Execution
2017-06-18 12:45:50,423 [INFO]  	 Running ... (will wait up to 100 minutes
  0%|                                                                      | 0/600 [00:00<?, ?it/s]2017-06-18 12:45:50,539 [INFO]  Username: [email protected]
2017-06-18 12:45:51,936 [ERROR]  Pipeline stopped with terminal state. screenshot generated.
2017-06-18 12:45:51,936 [ERROR]
    !!!!!!!!!!!!!!!!!!
        FAILED
    !!!!!!!!!!!!!!!!!!
```

I also fixed up some values in config.sh that had extra ]s that I got in somehow...

* Remove some whitespace that got in here

* Bump up version