{"id":1891,"date":"2026-04-02T22:00:44","date_gmt":"2026-04-02T13:00:44","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=1891"},"modified":"2026-04-03T16:29:25","modified_gmt":"2026-04-03T07:29:25","slug":"log_mb_tail","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/log_mb_tail\/","title":{"rendered":"Apache\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u6587\u5b57\u5316\u3051\u3055\u305b\u305a\u306btail -f\u3059\u308b"},"content":{"rendered":"<p>tail -f \u3067\u6d41\u3057\u3066\u3044\u308bApache\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u307c\u3093\u3084\u308a\u773a\u3081\u3066\u3044\u308b\u3068\u304d\u3001\u65e5\u672c\u8a9e\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3044\u308b\u306e\u3092\u898b\u3066<\/p>\n<p>\u300c\u3042\u308c\uff1f \u6587\u5b57\u5316\u3051\u3055\u305b\u305a\u306btail -f\u3055\u305b\u308b\u3084\u308a\u304b\u305f\u3092\u6614\u4f7f\u3063\u3066\u305f\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u300d<\/p>\n<p>\u3068\u601d\u3044\u3060\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u3084\u308a\u304b\u305f\uff08\u30b3\u30de\u30f3\u30c9\uff09\u3092\u5b8c\u5168\u306b\u5fd8\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3042\u3089\u305f\u3081\u3066\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u3084\u308a\u304b\u305f\u3092\u6b8b\u3057\u3066\u304f\u308c\u3066\u3044\u305f\u65b9\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\uff1a<\/p>\n<pre>\r\ntail -f error.log | perl -nle 's\/\\?\\\\([a-f\\d]{3})\/chr($1)\/ieg;s\/\\\\x([a-f\\d]{2})\/pack(\"C\", hex($1))\/ieg;print $_;'\r\n<\/pre>\n<p>\u305d\u3046\u305d\u3046\u3001\u3053\u308c\u3053\u308c\u3002<\/p>\n<p>\u53c2\u8003\u30b5\u30a4\u30c8\uff1a<br \/>\n<iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" title=\"Apache\u30ed\u30b0\u306e\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u304c\u6587\u5b57\u5316\u3051\u3057\u305f\u3089\u4f7f\u3046\u30b3\u30de\u30f3\u30c9 - \u3068\u3042\u308b\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u5099\u5fd8\u9332\" src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fraharu0425.hatenablog.com%2Fentry%2F20121126%2F1353911491#?secret=jSdlYiSyk8\" data-secret=\"jSdlYiSyk8\" scrolling=\"no\" frameborder=\"0\"><\/iframe><br \/>\n\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>tail -f \u3067\u6d41\u3057\u3066\u3044\u308bApache\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u307c\u3093\u3084\u308a\u773a\u3081\u3066\u3044\u308b\u3068\u304d\u3001\u65e5\u672c\u8a9e\u304c\u6587\u5b57\u5316\u3051\u3057\u3066\u3044\u308b\u306e\u3092\u898b\u3066 \u300c\u3042\u308c\uff1f \u6587\u5b57\u5316\u3051\u3055\u305b\u305a\u306btail -f\u3055\u305b\u308b\u3084\u308a\u304b\u305f\u3092\u6614\u4f7f\u3063\u3066\u305f\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u300d \u3068\u601d\u3044\u3060\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u3084 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/log_mb_tail\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Apache\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u6587\u5b57\u5316\u3051\u3055\u305b\u305a\u306btail -f\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[66,299,596,665],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-uv","jetpack-related-posts":[{"id":207,"url":"https:\/\/clouds.tokyo\/blog\/linux_tail\/","url_meta":{"origin":1891,"position":0},"title":"\u3010Linux\u3011tail -f\u3067\u30ed\u30b0\u3092\u6d41\u3057\u7d9a\u3051\u308b","author":"yamamoto","date":"2005\u5e748\u670815\u65e5","format":false,"excerpt":"tail\u30b3\u30de\u30f3\u30c9\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u3092\u8868\u793a\u3057\u307e\u3059\u304c\u3001 -f\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u8ffd\u8a18\u3055\u308c\u308b\u305f\u3073\u306b\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":205,"url":"https:\/\/clouds.tokyo\/blog\/php_log_origin\/","url_meta":{"origin":1891,"position":1},"title":"\u3010PHP\u3011\u72ec\u81ea\u306e\u30ed\u30b0\u3092\u51fa\u529b\u3057\u3088\u3046","author":"yamamoto","date":"2015\u5e746\u67088\u65e5","format":false,"excerpt":"\u958b\u767a\u306b\u30c7\u30d0\u30c3\u30b0\u30ed\u30b0\u3001\u30a8\u30e9\u30fc\u30ed\u30b0\u306f\u6b20\u304b\u305b\u307e\u305b\u3093\u304c\u3001 \u6a19\u6e96\u30ed\u30b0\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u30ed\u30b0\u3060\u3051\u3067\u306f\u60c5\u5831\u304c\u4e0d\u8db3\u3057\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1423,"url":"https:\/\/clouds.tokyo\/blog\/linux-ipcs\/","url_meta":{"origin":1891,"position":2},"title":"\u3010Linux\u3011\u30bb\u30de\u30d5\u30a9\u4e0d\u8db3\u306e\u78ba\u8a8d\u3068\u89e3\u6d88\u65b9\u6cd5","author":"yamamoto","date":"2020\u5e7412\u670814\u65e5","format":false,"excerpt":"Apache\u306e\u8d77\u52d5\u306b\u5931\u6557\u3057\u305f\u3089 error.log\u3092\u78ba\u8a8d \u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3089 [Fri Feb 2\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":937,"url":"https:\/\/clouds.tokyo\/blog\/linux_ssl_revoke\/","url_meta":{"origin":1891,"position":3},"title":"\u3010Linux\u3011Let&#8217;s Encrypt\u3067\u53d6\u5f97\u3057\u305f\u8a3c\u660e\u66f8\u3092\u524a\u9664\u3057\u3066\u66f4\u65b0\u5bfe\u8c61\u304b\u3089\u306f\u305a\u3059","author":"yamamoto","date":"2018\u5e741\u670829\u65e5","format":false,"excerpt":"SSL\u8a3c\u660e\u66f8\u3092\u7121\u6599\u3067\u53d6\u5f97\u3067\u304d\u308bLet's Encrypt\u3067\u3001 \u30b5\u30fc\u30d0\u30fc\u79fb\u884c\u3084\u30b5\u30a4\u30c8\u9589\u9396\u306a\u3069\u306b\u3088\u3063\u3066\u8a3c\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":759,"url":"https:\/\/clouds.tokyo\/blog\/linux_lets_cent5\/","url_meta":{"origin":1891,"position":4},"title":"\u3010Linux\u3011CentOS5\u3067Let&#8217;s Encrypt\u3092\u4f7f\u3063\u3066\u30de\u30eb\u30c1\u30c9\u30e1\u30a4\u30f3\u306eSSL\u8a3c\u660e\u66f8\u3092\u767a\u884c\u3059\u308b","author":"yamamoto","date":"2017\u5e746\u670821\u65e5","format":false,"excerpt":"CentOS5\u3067\u30b7\u30b9\u30c6\u30e0\u3092\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u30022010\u5e74\u306b\u30ea\u30ea\u30fc\u30b9\u3057\u305f\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002 \u65b0\u3057\u3044OS\u306b\u4e57\u308a\u63db\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":530,"url":"https:\/\/clouds.tokyo\/blog\/linux_syslog\/","url_meta":{"origin":1891,"position":5},"title":"\u3010Linux\u3011\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u3058\u3063\u305f\u3089\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u306a\u304f\u306a\u3063\u305f","author":"yamamoto","date":"2008\u5e746\u670827\u65e5","format":false,"excerpt":"Apache\u306e\u30ed\u30b0\u3001\u307e\u305f\u306fsendmail\u306e\u30ed\u30b0\u3092\u624b\u3067\u7de8\u96c6\u3057\u305f\u308a\u3059\u308b\u3068 \u305d\u308c\u4ee5\u964d\u30ed\u30b0\u304c\u51fa\u529b\u3055\u308c\u306a\u304f\u306a\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1891"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=1891"}],"version-history":[{"count":2,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1891\/revisions"}],"predecessor-version":[{"id":1894,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1891\/revisions\/1894"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=1891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=1891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=1891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}