1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

update log

This commit is contained in:
Timothy 2014-05-16 22:36:32 +08:00
parent 5bdbc3ff5c
commit eda38cbbbd
2 changed files with 3 additions and 2 deletions

View File

@ -148,7 +148,7 @@ func update_ip(domain_id int64, sub_domain_id string, sub_domain_name string, ip
fmt.Println("Failed to update record to new IP!")
fmt.Println(err.Error())
log.Eror("Failed to update record to new IP!")
log.Error("Failed to update record to new IP!")
log.Error(err.Error())
return
}

View File

@ -11,11 +11,12 @@ import (
var Configuration Settings
func main() {
initLog()
fmt.Println("Starting...")
log.Info("Starting...")
Configuration = LoadSettings()
initLog()
loop := make(chan bool)
go dns_loop(loop)