Mercurial Hosting > nabble
annotate conf/setup.luan @ 25:ea1d2e6e2a49
semiprivate
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 18 Jun 2020 19:26:15 -0600 |
parents | 862b1ef23e75 |
children |
rev | line source |
---|---|
18 | 1 java() |
2 local Luan = require "luan:Luan.luan" | |
3 local error = Luan.error | |
4 local LoggerFactory = require "java:org.slf4j.LoggerFactory" | |
5 local Log4j = require "java:nabble.utils.Log4j" | |
6 local Init = require "file:conf/Init.luan" | |
7 | |
8 Log4j.initForConsole() | |
9 local logger = LoggerFactory.getLogger("serve_nabble"); | |
10 | |
11 local DbGlobalUpdater = require "java:nabble.model.DbGlobalUpdater" | |
12 DbGlobalUpdater.updateGlobal() | |
13 logger.info "db update done" |