Service Log按照文档设置之后,在web页面看不到,帮助文档的图片有点问题(看不到了),能不能处理一下

文档问题 · jackeysui · 于 4年前 发布 · 1368 次阅读

http://www.fecmall.com/doc/fecshop-guide/develop/cn-2.0/guide-fecmall-service-log.html

如下是我的设置: [root@cloud1]# cat ./vendor/fancyecommerce/fecshop/config/components/ServiceLog.php <?php /**

  • FecShop file. *
  • @link http://www.fecshop.com/
  • @copyright Copyright (c) 2016 FecShop Software LLC
  • @license http://www.fecshop.com/license/ */ return [ 'serviceLog' => [
     'class' => 'fecshop\components\ServiceLog',
     'log_config' => [
         // service log config
         'services' => [
             // if enable is false , all services will be close
             // 总开关,开启或关闭Service Log,如果关闭了总开关,那么下面的开关开启都无效
             'enable' => true,
             // print log info to db.
             // 将Service Log写入db的开关,开启后将会写入到 mongodb数据库的表 `fecshop_service_log ` , 前提:需要总开关开启
             'dbprint'        => false,
             // print log info to front html
             // 直接在页面显示Service Log 的开关。前提:需要总开关开启
             'htmlprint'    => true,
             // print log
             // 直接在页面显示Service Log 的开关。前提:需要总开关开启
             // 
             'htmlprintbyparam'  => [
                 // like :http://fecshop.appfront.fancyecommerce.com?servicelog=xxxxxxxx
                 // 当这里开启后,如果访问http://fecshop.appfront.fancyecommerce.com 是看不到service log信息的,
                 // 只有访问 http://fecshop.appfront.fancyecommerce.com?servicelog=xxxxxxxx , 才能看到
                 'enable'        => false,
                 'paramKey'        => 'servicelog',
                 'paramVal'            => 'xxxxxxxx',
             ],
         ],
     ],
    

    ], ];

共收到 1 条回复
Fecmall#14年前 0 个赞

先自己去看看源码

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics