From 51d7d29a8c3f2c090677474c5b7490eea25aad39 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 5 Jan 2019 19:22:49 +0200 Subject: Add: log which HTTPAPI is used --- effiapi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effiapi b/effiapi index 1515eb3..8e11286 100755 --- a/effiapi +++ b/effiapi @@ -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() -- cgit v1.2.1