comparison src/luan/host/init.luan @ 1393:cc0dbca576dc

better logging
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 06 Sep 2019 05:09:56 -0600
parents 002152af497a
children 8fe777ba5045
comparison
equal deleted inserted replaced
1392:002152af497a 1393:cc0dbca576dc
76 76
77 local fn = Luan.load_file("file:postgres.luan") or error() 77 local fn = Luan.load_file("file:postgres.luan") or error()
78 local pg = fn() 78 local pg = fn()
79 79
80 function Hosting.postgres_spec() 80 function Hosting.postgres_spec()
81 logger.info("pg="..pg.." domain="..domain)
82 if pg == nil then 81 if pg == nil then
83 return nil 82 return nil
84 end 83 end
85 local spec = { 84 local spec = {
86 class = "org.postgresql.Driver" 85 class = "org.postgresql.Driver"