diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-01-05 19:22:49 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-01-05 19:22:49 +0200 |
commit | 51d7d29a8c3f2c090677474c5b7490eea25aad39 (patch) | |
tree | 98e00fb0a97b34e4c6f2f2e72638adc0057fea72 /effiapi | |
parent | 4a9dc3b027f9aab32ab18eab28c8de2f6a9eff4f (diff) | |
download | effi-reg-51d7d29a8c3f2c090677474c5b7490eea25aad39.tar.gz |
Add: log which HTTPAPI is used
Diffstat (limited to 'effiapi')
-rwxr-xr-x | effiapi | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -295,8 +295,10 @@ if config.get('pid'): f.write(str(pid)) if config.get('fake', False): + logging.info("Using RealHTTPAPI") httpapi = RealHTTPAPI() else: + logging.info("Using FakeHTTPAPI") httpapi = FakeHTTPAPI() app = bottle.default_app() |