“金字塔”命令

“pyramid”命令是“start”命令的替换 cubicweb-ctl 工具 .它提供了相同的选项和其他一些选项。

选项

--no-daemon

在前台运行服务器。

--debug-mode

激活存储库调试模式(在控制台和调试工具栏中记录)。暗示 --no-daemon .

同时强制以下棱锥体选项:

pyramid.debug_authorization = yes
pyramid.debug_notfound = yes
pyramid.debug_routematch = yes
pyramid.reload_templates = yes
-D, --debug

等于 --debug-mode --no-daemon --reload

--reload

如果更改了任何源文件,请重新启动服务器

--reload-interval=RELOAD_INTERVAL

文件修改检查之间的间隔(秒) [电流:1]

-l <log level>, --loglevel=<log level>

设置日志级别。如果设置了-d,则调试,否则出错

-p, --profile

启用分析。参见 分析 .

--profile-output=PROFILE_OUTPUT

分析输出文件(默认值:“program.prof”)

--profile-dump-every=N

将配置文件统计信息转储到输出每N个请求(默认值:100)