mirror of
https://github.com/casbin/bee.git
synced 2025-07-27 08:16:29 +08:00
Fixes the filename and lineNo in debug log message
This commit is contained in:

committed by
Faissal Elamraoui

parent
c3c264ddb5
commit
deacdaa667
2
run.go
2
run.go
@@ -99,7 +99,7 @@ func runApp(cmd *Command, args []string) int {
|
||||
|
||||
logger.Infof("Using '%s' as 'appname'", appname)
|
||||
|
||||
logger.Debugf("Current path: %s", currpath)
|
||||
logger.Debugf("Current path: %s", __FILE__(), __LINE__(), currpath)
|
||||
|
||||
if runmode == "prod" || runmode == "dev" {
|
||||
os.Setenv("BEEGO_RUNMODE", runmode)
|
||||
|
Reference in New Issue
Block a user