{"id":7537,"date":"2020-09-10T13:51:19","date_gmt":"2020-09-10T04:51:19","guid":{"rendered":"https:\/\/chat-messenger.com\/?p=7537"},"modified":"2025-06-08T16:17:15","modified_gmt":"2025-06-08T07:17:15","slug":"accesslog","status":"publish","type":"post","link":"https:\/\/chat-messenger.com\/zh\/\u624b\u518c\/camserver\/\u8bbf\u95ee\u65e5\u5fd7","title":{"rendered":"\u8bb0\u5f55\u8bbf\u95ee\u65e5\u5fd7"},"content":{"rendered":"<p><style type=\"text\/css\"><!--\ntable, th, td {\n    border: none !important;\n}\n--><\/style><\/p>\n<h2>\u5173\u4e8e\u8bbf\u95ee\u65e5\u5fd7<\/h2>\n<p>\u60a8\u53ef\u4ee5\u8bb0\u5f55\u5ba2\u6237\u7aef\u8bbf\u95ee\u672c\u5730CAMServer\u7684\u65e5\u5fd7\u3002<br \/>\u67e5\u770b\u8bbf\u95ee\u65e5\u5fd7\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a\u4e00\u79cd\u662f\u4ece\u7ba1\u7406\u754c\u9762\u67e5\u770b\uff0c\u53e6\u4e00\u79cd\u662f\u4ee5\u6587\u672c\u683c\u5f0f\u8bb0\u5f55\u3002<\/p>\n<h2>\u5728\u7ba1\u7406\u5c4f\u5e55\u4e0a\u8bbf\u95ee\u65e5\u5fd7\u3002<\/h2>\n<table style=\"padding: 5px; width: 600px;\">\n<tbody>\n<tr align=\"top\">\n<td width=\"200\">\n<div class=\"card-img post_img\"><img src=\"\/images\/attendance_accesslog.png\" border=\"0\" \/><\/div>\n<\/td>\n<td>\u53ef\u4ee5\u5728\u7ba1\u7406\u5c4f\u5e55\u4e0a\u67e5\u770b\u6bcf\u4e2a\u7528\u6237\u7684\u8bbf\u95ee\u65e5\u5fd7\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"point\">\n<ul>\n<li>\u7ba1\u7406\u5c4f\u5e55\u7684\u8bbf\u95ee\u65e5\u5fd7\u9002\u7528\u4e8e\u4e91\u4f01\u4e1a\u7248\u548c\u5185\u90e8\u90e8\u7f72\u7ec8\u6781\u7248\u3002<\/li>\n<li>\u542f\u7528\u8003\u52e4\u7ba1\u7406\u540e\uff0c\u53ef\u67e5\u770b PC \u8fd0\u884c\u72b6\u6001\u3002<\/li>\n<\/ul>\n<\/div>\n<h2>\u6587\u672c\u8bbf\u95ee\u65e5\u5fd7\u3002<\/h2>\n<h3>\u8bb0\u5f55\u65b9\u6cd5<\/h3>\n<ol>\n<li>CAMServer \u505c\u6b62\u3002<\/li>\n<li><code>CAM\u670d\u52a1\u5668\/boot.ini<\/code> \u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u90e8\u5206\n<pre class=\"sample_src\"># \u8bb0\u5f55\u6bcf\u6b21 HTTP \u8bbf\u95ee\ncam.enableServerAccessLog=true\n# \u53ef\u9009\u3002\u5728\u4e0a\u8ff0\u65e5\u5fd7\u4e2d\u6dfb\u52a0\u767b\u5f55\u9a8c\u8bc1\u7535\u5b50\u90ae\u4ef6\uff08\u7535\u5b50\u90ae\u4ef6\u4f1a\u88ab\u90e8\u5206\u5c4f\u853d\u548c\u8bb0\u5f55\uff09\ncam.enableServerAccessLogEmail=true\n<\/pre>\n<\/li>\n<li>\u542f\u52a8 CAMServer<\/li>\n<\/ol>\n<h3>\u65e5\u5fd7\u5b58\u50a8\u4f4d\u7f6e<\/h3>\n<p>\u5b8c\u6210\u4e0a\u8ff0\u8bbe\u7f6e\u540e <code>CAMServer\/sys\/logs\/YYYYMM_application0.log<\/code> \u8bbf\u95ee\u65e5\u5fd7\u8bb0\u5f55\u5728\u6587\u4ef6\u4e2d\u3002<\/p>\n<p>*YYYYMM \u662f CAMServer \u542f\u52a8\u7684\u5e74\u4efd\u548c\u6708\u4efd\u3002<\/p>\n<p>*\u65e5\u5fd7\u6587\u4ef6\u4ee550MB\u4e3a\u5355\u4f4d\u8f6e\u6362\uff0cYYYYMM_application0.log\u7684\u7b2c0\u4e2a\u65e5\u5fd7\u6587\u4ef6\u662f\u5f53\u524d\u6b63\u5728\u8f93\u51fa\u7684\u65e5\u5fd7\u6587\u4ef6\u3002\u5e8f\u5217\u53f7\u6700\u5c0f\u7684\u65e5\u5fd7\u6587\u4ef6\u662f\u5f53\u6708\u7684\u65b0\u65e5\u5fd7\u6587\u4ef6\u3002<\/p>\n<h3>\u8bb0\u5f55\u4e86\u4ec0\u4e48\uff1f<\/h3>\n<p>\u8bbf\u95ee\u65e5\u5fd7\u6309\u4ee5\u4e0b\u683c\u5f0f\u8bb0\u5f55<\/p>\n<p><small><i>Date:[INFO]:CAMServlet :Request \/CAMServer\/API Endpoint Client IP Masked Email Part of User ID Part of Session ID Client Terminal Identifier (web|electron|android|ios)<\/i><\/small><\/p>\n<pre class=\"sample_src\">2022\/09\/10 13:57:09:[INFO]:CAMServlet :\u8bf7\u6c42 \/CAMServer\/getpublickey 192.168.1.XX tes*ou*an*be*te*t*co* 1gh7pgnovpss 856C9E2 web\n2022\/09\/10 13:57:09:[INFO]:CAMServlet :Request \/CAMServer\/getack 192.168.1.XX tes*ou*an*be*te*t*co* 1gh7pgnovpss 856C9E2 web\n2022\/09\/10 13:57:09:[INFO]:CAMServlet :Request \/CAMServer\/serverInfo 192.168.1.XX tes*ou*an*be*te*t*co* 1gh7pgnovpss 856C9E2 web\n2022\/09\/10 13:57:09:[INFO]:CAMServlet :Request \/CAMServer\/signIn 192.168.1.XX tes*ou*an*be*te*t*co* 1gh7pgnovpss 856C9E2 web\n2022\/09\/10 13:57:10:[INFO]:CAMServlet :Request \/CAMServer\/getTalkList 192.168.1.XX tes*ou*an*be*te*t*co* 1gh7pgnovpss 856C9E2 web\n2022\/09\/10 13:57:10:[INFO]:CAMServlet :Request \/CAMServer\/getUserPref 192.168.1.XX tes*ou*an*be*te*t*co* 1gh7pgnovpss 856C9E2 web\n2022\/09\/10 13:57:10:[INFO]:CAMServlet :Request \/CAMServer\/getLatestEntities 192.168.1.XX tes*ou*an*be*te*t*co* 1gh7pgnovpss 856C9E2 web\n<\/pre>\n\n\n<h2>\u65e5\u5fd7\u76d1\u63a7<\/h2>\n\n\n\n<p>\u8981\u4ece\u65e5\u5fd7\u4e2d\u68c0\u6d4b CAMServer \u4e2d\u53d1\u751f\u7684\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5 CAMServer \u8f93\u51fa\u7684\u65e5\u5fd7\u6587\u4ef6\uff08<code>CAMServer\/sys\/logs\/YYYYMM_application0.log<\/code>\uff09\u5e94\u8be5\u7528\u65e5\u5fd7\u76d1\u63a7\u5de5\u5177\u6765\u76d1\u63a7\u3002<\/p>\n\n\n\n<p>\u5927\u591a\u6570\u60c5\u51b5\u4e0b<code> [\u4e25\u91cd] <\/code>\u8bf7\u4f7f\u7528\u76d1\u63a7\u5de5\u5177\u8fdb\u884c\u76d1\u63a7\u3002<\/p>\n\n\n\n<h3>\u8b66\u544a\u7ea7\u522b<\/h3>\n\n\n\n<ul><li>\u5185\u5bb9\uff1a\u8ba4\u8bc1\u9519\u8bef\u3001API\u8bbf\u95ee\u9519\u8bef\u6216\u5ba2\u6237\u7aef\u610f\u5916\u9519\u8bef\u65f6\u7684\u8f93\u51fa<\/li><li>\u5f71\u54cd\uff1a\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u65e0\u5bb3<\/li><\/ul>\n\n\n\n<div class=\"hcb_wrap\" data-no-translation=\"\"><pre class=\"prism line-numbers lang-bash\" data-file=\"\u51fa\u529b\u30b5\u30f3\u30d7\u30eb\" data-lang=\"Bash\"><code>2024\/05\/23 16:29:15:[WARNING]:CAMServlet :app.base.AppLevelException: Bad request.<\/code><\/pre><\/div>\n\n\n\n<h3>\u4e25\u91cd\u7ea7\u522b<\/h3>\n\n\n\n<ul><li>\u5185\u5bb9\uff1a\u78c1\u76d8\u6545\u969c\u3001\u78c1\u76d8\u77ed\u7f3a\u3001\u5185\u5b58\u77ed\u7f3a\u3001\u4ea7\u54c1Bug\u7b49\u3002<\/li><li>\u5f71\u54cd\uff1a\u6709\u5f71\u54cd\uff0c\u56e0\u6b64\u9700\u8981\u91c7\u53d6\u884c\u52a8\u3002\u4e0d\u8fc7\uff0c\u867d\u7136\u65e0\u5bb3\uff0c\u4f46\u7531\u4e8e\u4ea7\u54c1\u672c\u8eab\u8003\u8651\u4e0d\u8db3\uff0c\u4e5f\u53ef\u80fd\u4f1a\u51fa\u73b0\u8fd9\u79cd\u60c5\u51b5\uff0c\u6240\u4ee5\u6709\u5fc5\u8981\u5728\u76d1\u63a7\u5de5\u5177\u4e2d\u5bf9\u9891\u7e41\u51fa\u73b0\u7684\u65e5\u5fd7\u8fdb\u884c\u6392\u9664\u3002<\/li><\/ul>\n\n\n\n<div class=\"hcb_wrap\" data-no-translation=\"\"><pre class=\"prism line-numbers lang-bash\" data-file=\"\u51fa\u529b\u30b5\u30f3\u30d7\u30eb\" data-lang=\"Bash\"><code>2024\/05\/23 09:29:57:[SEVERE]:ErrorHandler :An error has occurred. java.lang.NullPointerException<\/code><\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e\u8bbf\u95ee\u65e5\u5fd7 \u53ef\u4ee5\u8bb0\u5f55\u5ba2\u6237\u7aef\u8bbf\u95ee\u672c\u5730 CAMServer \u7684\u65e5\u5fd7 [...]<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/posts\/7537"}],"collection":[{"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/comments?post=7537"}],"version-history":[{"count":10,"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/posts\/7537\/revisions"}],"predecessor-version":[{"id":12179,"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/posts\/7537\/revisions\/12179"}],"wp:attachment":[{"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/media?parent=7537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/categories?post=7537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chat-messenger.com\/zh\/wp-json\/wp\/v2\/tags?post=7537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}