# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Apache Traffic Server 6.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-30 14:07+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.2.0\n"

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:23
msgid "Managing Logs"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:25
msgid ""
"|TS| enables you to control where event log files are located and how much "
"space they can consume. Additionally, you can specify how to handle low "
"disk space in the logging directory."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:30
msgid "Choosing the Logging Directory"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:32
msgid ""
"By default, Traffic Server writes all event log files in the ``logs`` "
"directory located in the directory where you installed |TS|. To change this "
"location, adjust the value of :ts:cv:`proxy.config.log.logfile_dir` in :"
"file:`records.config`. You will need to either restart |TS| or run the "
"command :option:`traffic_ctl config reload` for changes to take effect."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:39
msgid "Controlling Logging Space"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:41
msgid ""
"|TS| enables you to control the amount of disk space that the logging "
"directory can consume. This allows the system to operate smoothly within a "
"specified space window for a long period of time.  After you establish a "
"space limit, |TS| continues to monitor the space in the logging directory. "
"When the free space dwindles to the headroom limit, it enters a low space "
"state and takes the following actions:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:48
msgid ""
"If the autodelete option (discussed in `Rolling Logs`_) is enabled, then |"
"TS| identifies previously-rolled log files (log files with the ``.old`` "
"extension). It starts deleting files one by one, beginning with the oldest "
"file, until it emerges from the low state. |TS| logs a record of all "
"deleted files in the system error log."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:54
msgid ""
"If the autodelete option is disabled or there are not enough old log files "
"to delete for the system to emerge from its low space state, then |TS| "
"issues a warning and continues logging until space is exhausted. When "
"available space is consumed, event logging stops. |TS| resumes event "
"logging when enough space becomes available for it to exit the low space "
"state. To make space available, either explicitly increase the logging "
"space limit or remove files from the logging directory manually."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:62
msgid ""
"You can run a :manpage:`cron(8)` script in conjunction with |TS| to "
"automatically remove old log files from the logging directory before |TS| "
"enters the low space state. Relocate the old log files to a temporary "
"partition, where you can run a variety of log analysis scripts. Following "
"analysis, either compress the logs and move to an archive location, or "
"simply delete them."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:70
msgid "Setting Log File Management Options"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:72
msgid "To set log management options, follow the steps below:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:74
msgid "In the :file:`records.config` file, edit the following variables"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:76
msgid ":ts:cv:`proxy.config.log.max_space_mb_for_logs`"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:77
msgid ":ts:cv:`proxy.config.log.max_space_mb_headroom`"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:79
#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:215
#, fuzzy
msgid ""
"Run the command :option:`traffic_ctl config reload` to apply the "
"configuration changes."
msgstr ":option:`traffic_line -x` を実行して設定の変更を適用してください。"

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:83
msgid "Rolling Logs"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:85
msgid ""
"|TS| provides automatic log file rolling. At specific intervals during the "
"day or when log files reach a certain size, |TS| closes its current set of "
"log files and opens new log files. Depending on the amount of traffic your "
"servers are exposed to, you may find that increasing the frequency of log "
"rolling is beneficial, or even necessary, to maintain manageable log file "
"sets. |TS| nodes processing moderately high levels of traffic may want to "
"start by rolling logs every six hours, and adjusting from there."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:93
msgid "Log file rolling offers the following benefits:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:95
msgid ""
"It defines an consistent interval over which log analysis can be performed."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:97
msgid ""
"It keeps any single log file from becoming too large and helps to keep the "
"logging system within the specified space limits."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:100
msgid ""
"It provides an easy way to identify files that are no longer being used so "
"that an automated script can clean the logging directory and run log "
"analysis programs."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:105
msgid "Rolled Log Filename Format"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:107
msgid ""
"|TS| provides a consistent naming scheme for rolled log files that enables "
"you to easily identify log files. When |TS| rolls a log file, it saves and "
"closes the old file before it starts a new file. |TS| renames the old file "
"to include the following information:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:112
msgid "The format of the file (such as ``squid.log``)."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:114
msgid "The hostname of the |TS| that generated the log file."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:116
msgid ""
"Two timestamps separated by a hyphen (``-``). The first timestamp is a "
"*lower bound* for the timestamp of the first record in the log file. The "
"lower bound is the time when the new buffer for log records is created. "
"Under low load, the first timestamp in the filename can be different from "
"the timestamp of the first entry. Under normal load, the first timestamp in "
"the filename and the timestamp of the first entry are similar. The second "
"timestamp is an *upper bound* for the timestamp of the last record in the "
"log file (this is normally the rolling time)."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:126
msgid ""
"The suffix ``.old``, which makes it easy for automated scripts to find "
"rolled log files."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:129
msgid "Timestamps have the following format: ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:133
msgid "The following table describes the format:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:136
msgid "Format"
msgstr "フォーマット"

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:136
msgid "Description"
msgstr "解説"

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:136
msgid "Sample"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:138
msgid "``%Y``"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:138
msgid "The year in four-digit format."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:138
msgid "2000"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:139
#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:142
msgid "``%M``"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:139
msgid "The month in two-digit format, from 01-12."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:139
msgid "07"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:140
msgid "``%D``"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:140
msgid "The day in two-digit format, from 01-31."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:140
msgid "19"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:141
msgid "``%H``"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:141
msgid "The hour in two-digit format, from 00-23."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:141
msgid "21"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:142
msgid "The minute in two-digit format, from 00-59."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:142
msgid "52"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:143
msgid "``%S``"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:143
msgid "The second in two-digit format, from 00-59."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:143
msgid "36"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:148
msgid "The following is an example of a rolled log filename: ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:152
msgid ""
"The logging system buffers log records before writing them to disk. When a "
"log file is rolled, the log buffer might be partially full. If it is, then "
"the first entry in the new log file will have a timestamp earlier than the "
"time of rolling. When the new log file is rolled, its first timestamp will "
"be a lower bound for the timestamp of the first entry."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:158
msgid ""
"For example, suppose logs are rolled every three hours, and the first "
"rolled log file is: ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:163
msgid ""
"If the lower bound for the first entry in the log buffer at 3:00:00 is "
"2:59:47, then the next log file will have the following timestamp when "
"rolled: ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:169
msgid ""
"The contents of a log file are always between the two timestamps. Log files "
"do not contain overlapping entries, even if successive timestamps appear to "
"overlap."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:174
msgid "Rolling Intervals"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:176
msgid ""
"Log files are rolled at specific intervals relative to a given hour of the "
"day. Three options may be used to control when log files are rolled:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:179
msgid ""
"A file size threshold, which will prevent any individual log from growing "
"too large."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:182
msgid "The offset hour, which is an hour between ``0`` (midnight) and ``23``."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:184
msgid "The rolling interval."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:186
msgid ""
"Both the offset hour and the rolling interval determine when log file "
"rolling starts. Rolling occurs every *rolling interval* and at the *offset* "
"hour. For example, if the rolling interval is six hours and the offset hour "
"is ``0`` (midnight), then the logs will roll at midnight (00:00), 06:00, "
"12:00, and 18:00 each day. If the rolling interval is 12 hours and the "
"offset hour is ``3``, then logs will roll at 03:00 and 15:00 each day."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:193
msgid ""
"To set log file rolling options and/or configure |TS| to roll log files "
"when they reach a certain size, adjust the following settings in :file:"
"`records.config`:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:197
msgid "Enable log rolling with :ts:cv:`proxy.config.log.rolling_enabled`. ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:201
msgid ""
"Configure the upper limit on log file size with :ts:cv:`proxy.config.log."
"rolling_size_mb`. ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:206
msgid ""
"Set the offset hour with :ts:cv:`proxy.config.log.rolling_offset_hr`. ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:210
msgid ""
"Set the interval (in seconds) with :ts:cv:`proxy.config.log."
"rolling_interval_sec`. ::"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:218
msgid ""
"You can fine-tune log file rolling settings for a custom log file in the :"
"ref:`LogObject` specification in :file:`logging.config`. The custom log "
"file uses the rolling settings in its :ref:`LogObject`, which override the "
"default settings you specify in Traffic Manager or :file:`records.config` "
"described above."
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:243
msgid "To edit the log hosts list:"
msgstr ""

#: ../../../admin-guide/monitoring/logging/managing-logs.en.rst:252
#, fuzzy
msgid ""
"Run the command :option:`traffic_ctl config reload` to apply the changes."
msgstr ":option:`traffic_line -x` を実行して設定の変更を適用してください。"

#~ msgid ""
#~ "Run the command :option:`traffic_line -x` to apply the configuration "
#~ "changes."
#~ msgstr ":option:`traffic_line -x` を実行して設定の変更を適用してください。"
