aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-04-29 12:58:25 -0700
committerAdam Mathes <adam@trenchant.org>2018-04-29 12:58:25 -0700
commit5e9981a5a8f993d6233b9a321a643bd947ce4449 (patch)
treecd036534c77f20bb2ec0ae4d6804dbc92fcf5796 /main.go
parent09b8f4494bf904b03d3d9f78d9c00004d2f5b992 (diff)
downloadneko-5e9981a5a8f993d6233b9a321a643bd947ce4449.tar.gz
neko-5e9981a5a8f993d6233b9a321a643bd947ce4449.tar.bz2
neko-5e9981a5a8f993d6233b9a321a643bd947ce4449.zip
debug cleanup
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.go b/main.go
index 40f2647..d23c4ec 100644
--- a/main.go
+++ b/main.go
@@ -34,16 +34,20 @@ func main() {
vlog.VERBOSE = verbose
if update {
+ vlog.Printf("starting crawl\n")
crawler.Crawl()
}
if serve {
- vlog.Printf("starting web server at %s", config.Config.WebServer)
+ vlog.Printf("starting web server at %s\n",
+ config.Config.WebServer)
web.Serve()
}
if newFeed != "" {
+ vlog.Printf("creating new feed\n")
feed.NewFeed(newFeed)
}
if export != "" {
+ vlog.Printf("feed export\n")
exporter.ExportFeeds(export)
}
}