   router.add("/logs/:base/*", (params) -> show_logs( params.base, params.splat ))
   router.add("/logs/:base", (params) -> show_log_root_base( params.base))
   router.paramVerifier = (s) -> /^[a-z0-9\/\-]+$/i.test(s)
-  router.debug = true
+#  router.debug = true
   router.transparentRouting()
   window.router = router
 

    showMore()

this.renderLog = (data, level, ignore_date) ->
  if ignore_date == new Date(data.start * 1000).toLocaleFormat("%Y-%m-%d")
    data.date = new Date(data.start * 1000).toLocaleFormat("%H:%M:%S")
  else
    data.date = new Date(data.start * 1000).toLocaleFormat("%Y-%m-%d %H:%M:%S")
  indent = level * 30
  if indent < 4
    indent = 4

  $.get "/logs/json/log/" + base + "/" + name + "/" + id, (data) ->
    clear()
    document.title = "Logs for " + base + "/" + name + "/" + id
    data.date = TimeFormat.formatDateTime(data.start * 1000)
    ignore_date = TimeFormat.formatDate(data.start * 1000)
    renderElements "#content", "#t-show-log",
      base: base
      name: name
