summary refs log tree commit diff stats
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/init.go b/init.go
index b898ae8..a6b2aa1 100644
--- a/init.go
+++ b/init.go
@@ -114,9 +114,17 @@ func initConfig() {
 	confObj.port = viper.GetInt("port")
 	confObj.logFile = viper.GetString("logFile")
 	confObj.dbPath = viper.GetString("databasePath")
+	log.Printf("Using database: %v\n", confObj.dbPath)
 	confObj.stdoutLogging = viper.GetBool("stdoutLogging")
+	if confObj.stdoutLogging {
+		log.Printf("Logging to stdout\n")
+	} else {
+		log.Printf("Logging to %v\n", confObj.logFile)
+	}
 	confObj.cacheInterval = dur
+	log.Printf("Cache refresh interval: %v\n", dur)
 	confObj.dbInterval = dbDur
+	log.Printf("Database push interval: %v\n", dbDur)
 	confObj.lastCache = thetime
 	confObj.lastPush = thetime
 	confObj.version = getwtxt
<vc@akkartik.com> 2015-05-30 19:30:33 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2015-05-30 19:37:02 -0700 1517' href='/akkartik/mu/commit/html/screen.mu.html?h=main&id=4bbd3ded0b767ae0919551776e4c17189140e735'>4bbd3ded ^
c5ffb6e1 ^
















dbe12410 ^
4bbd3ded ^
c5ffb6e1 ^
dbe12410 ^
c5ffb6e1 ^


dbe12410 ^
c5ffb6e1 ^

dbe12410 ^
c5ffb6e1 ^
dbe12410 ^
c5ffb6e1 ^
dbe12410 ^
c5ffb6e1 ^
dbe12410 ^
c5ffb6e1 ^
dbe12410 ^

c5ffb6e1 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61