Wednesday, July 15, 2026 4:02:31 AM
> _log_processing.html.erb
<h3>
  Log Processing
</h3>

<div class="uk-margin">
  <h5 class="uk-margin-remove-bottom">Exile Log Search Days</h5>

  <small>
    How many days of logs to search<br>

    Example: <code>7</code> searches the last week of logs<br>
    Default: <code>14</code> (days)
  </small>

  <div class="uk-form-controls">
    <%= setting_f.number_field :exile_logs_search_days,
      class: "uk-input",
      placeholder: "Leave blank for default",
      "v-model": "setting.exile_logs_search_days"
    %>
  </div>
</div>

<div class="uk-margin">
  <h5 class="uk-margin-remove-bottom">Additional Logs</h5>

  <small>
    Additional log files to search. Can be relative to server directory or absolute paths
    <br>
    Examples:
    <ul class="uk-margin-remove">
      <li>
        Relative: <code>logs/server.log</code>
        ->
        <code>&lt;server_dir&gt;/logs/server.log</code>
      </li>
      <li>
        Absolute: <code>/home/steam/logs/error.log</code>
        or
        <code>C:\servers\logs\rpt</code>
      </li>
    </ul>
  </small>

  <div class="uk-form-controls">
    <%= setting_f.hidden_field :additional_logs,
      ":value": "JSON.stringify(setting.additional_logs)"
    %>

    <table class="uk-table uk-table-small uk-margin-remove-top">
      <thead>
        <tr>
          <td class="esm-text-subtle uk-padding-remove-left"><strong>Log path</strong></td>
        </tr>
      </thead>
      <tbody>
        <tr v-for="path in setting.additional_logs">
          <td class="uk-width-expand uk-padding-remove-left">
            <code>{{ path }}</code>
          </td>
          <td class="uk-width-auto">
            <a class="fas fa-times" uk-tooltip="Remove Path" @click="removeAdditionalLog(path)"></a>
          </td>
        </tr>
        <tr>
          <td class="uk-width-expand uk-padding-remove-left">
            <input type="text" class="uk-input" placeholder="/servers/altis/logs" v-model="additional_log"></input>
          </td>
          <td class="uk-width-auto">
            <a class="fas fa-plus esm-text-color-toast-green uk-margin-small-top" uk-tooltip="Add path" @click="addAdditionalLog"></a>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
</div>
All opinions represented herein are my own
- © 2024 - 2026 itsthedevman
- build 43aa0d7