↑ ↓

Aion 1.9

Тема в разделе "Помощь", создана пользователем Саша Фурсик, 30 апр 2016.

  1. TopicStarter Overlay
    Offline

    Саша Фурсик Рядовой

    27
    0
    34
    Кредиты:
    $126,00
    Репутация:
    0
    Всем привет. Решил установить сборку 1.9 (AionServer-1.9 (AionUnique rev.2193; готовый сервер)) , не могу запустить лс и гс , вот что выдает : [​IMG]
    если я правильно понял то проблема в log4j.xml , вот сам конфиг :
    <?xml version='1.0' encoding='UTF-8' ?>

    <!--
    ~ This file is part of aion-unique <aionunique.smfnew.com>.
    ~
    ~ aion-emu is free software: you can redistribute it and/or modify
    ~ it under the terms of the GNU General Public License as published by
    ~ the Free Software Foundation, either version 3 of the License, or
    ~ (at your option) any later version.
    ~
    ~ aion-emu is distributed in the hope that it will be useful,
    ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
    ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    ~ GNU General Public License for more details.
    ~
    ~ You should have received a copy of the GNU General Public License
    ~ along with aion-unique. If not, see <Please login or register to view links.
    -->

    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

    <log4j:configuration>

    <!-- This appender prints information to console -->
    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.EnhancedPatternLayout">
    <param name="ConversionPattern" value="[%p] %d{yyyy-MM-dd HH:mm:ss} - %m%n"/>
    </layout>
    <filter class="com.aionemu.commons.log4j.filters.ConsoleFilter"/>
    </appender>

    <!-- This appender prints all that is shown in console to file -->
    <appender name="CONSOLE_TO_FILE" class="com.aionemu.commons.log4j.appenders.TruncateToZipFileAppender">
    <param name="file" value="log/console.log"/>
    <param name="append" value="false"/>
    <param name="backupDir" value="log/backup"/>
    <!-- Windows systems doesn't support : char in file names -->
    <param name="backupDateFormat" value="yyyy-MM-dd HH-mm-ss"/>
    <layout class="org.apache.log4j.EnhancedPatternLayout">
    <param name="ConversionPattern" value="[%p] %d{yyyy-MM-dd HH:mm:ss} - %c:%L - %m%n"/>
    </layout>
    <filter class="com.aionemu.commons.log4j.filters.ConsoleFilter"/>
    </appender>

    <!-- This appender accepts only messages with exceptions and logs them to separate file -->
    <appender name="ERROR_APPENDER" class="com.aionemu.commons.log4j.appenders.TruncateToZipFileAppender">
    <param name="file" value="log/errors.log"/>
    <param name="append" value="false"/>
    <param name="backupDir" value="log/backup"/>
    <!-- Windows systems doesn't support : char in file names -->
    <param name="backupDateFormat" value="yyyy-MM-dd HH-mm-ss"/>
    <layout class="org.apache.log4j.EnhancedPatternLayout">
    <param name="ConversionPattern" value="[%p %d{yyyy-MM-dd HH:mm:ss}] %c:%L - %m%n"/>
    </layout>
    <filter class="com.aionemu.commons.log4j.filters.ThrowablePresentFilter"/>
    </appender>

    <!-- Chat Log -->
    <appender name="CHATLOG" class="com.aionemu.commons.log4j.appenders.TruncateToZipFileAppender">
    <param name="file" value="log/chat.log"/>
    <param name="append" value="false"/>
    <param name="backupDir" value="log/backup"/>
    <!-- Windows systems doesn't support : char in file names -->
    <param name="backupDateFormat" value="yyyy-MM-dd HH-mm-ss"/>
    <layout class="org.apache.log4j.EnhancedPatternLayout">
    <param name="ConversionPattern" value="[%d{yyyy-dd-MM HH:mm:ss}] %m%n"/>
    </layout>
    <filter class="com.aionemu.commons.log4j.filters.ChatLogFilter"/>
    </appender>

    <!-- GM Audit -->
    <appender name="GMAUDIT" class="com.aionemu.commons.log4j.appenders.TruncateToZipFileAppender">
    <param name="file" value="log/gmaudit.log"/>
    <param name="append" value="false"/>
    <param name="backupDir" value="log/backup"/>
    <!-- Windows systems doesn't support : char in file names -->
    <param name="backupDateFormat" value="yyyy-MM-dd HH-mm-ss"/>
    <layout class="org.apache.log4j.EnhancedPatternLayout">
    <param name="ConversionPattern" value="[%d{yyyy-dd-MM HH:mm:ss}] %m%n"/>
    </layout>
    <filter class="com.aionemu.commons.log4j.filters.GmAuditFilter"/>
    </appender>

    <!-- Audit -->
    <appender name="AUDIT" class="com.aionemu.commons.log4j.appenders.TruncateToZipFileAppender">
    <param name="file" value="log/audit.log"/>
    <param name="append" value="false"/>
    <param name="backupDir" value="log/backup"/>
    <!-- Windows systems doesn't support : char in file names -->
    <param name="backupDateFormat" value="yyyy-MM-dd HH-mm-ss"/>
    <layout class="org.apache.log4j.EnhancedPatternLayout">
    <param name="ConversionPattern" value="[%d{yyyy-dd-MM HH:mm:ss}] %m%n"/>
    </layout>
    <filter class="com.aionemu.commons.log4j.filters.AuditFilter"/>
    </appender>

    <!-- Item -->
    <appender name="ITEM" class="com.aionemu.commons.log4j.appenders.TruncateToZipFileAppender">
    <param name="file" value="log/item.log"/>
    <param name="append" value="false"/>
    <param name="backupDir" value="log/backup"/>
    <!-- Windows systems doesn't support : char in file names -->
    <param name="backupDateFormat" value="yyyy-MM-dd HH-mm-ss"/>
    <layout class="org.apache.log4j.EnhancedPatternLayout">
    <param name="ConversionPattern" value="[%d{yyyy-dd-MM HH:mm:ss}] %m%n"/>
    </layout>
    <filter class="com.aionemu.commons.log4j.filters.ItemFilter"/>
    </appender>

    <!-- Root Logger -->
    <root>
    <priority value="info"/>
    <appender-ref ref="CONSOLE"/>
    <appender-ref ref="CONSOLE_TO_FILE"/>
    <appender-ref ref="ERROR_APPENDER"/>
    <appender-ref ref="CHATLOG"/>
    <appender-ref ref="GMAUDIT"/>
    <appender-ref ref="AUDIT"/>
    <appender-ref ref="ITEM"/>
    </root>

    <!--
    This property represents default LoggerFactory for categories.
    For intance we have class x.y.z.Main that uses it's own name to get logger.

    If we have category or logger x.y.z (or any hierarchy category), then Main will use
    logger factory that is specified by system property "log4j.loggerfactory".

    But if we have exact match of requested logger name and category name, then categoryFactory element
    will be used to create logger.

    For instance, to make Main to use this category factory we should create category called
    x.y.z.Main.




    More examples:

    This example will use LoggerFactory from log4j.loggerfactory
    getLoger("com.aionemu.commons.test.Logger")


    This example will use LoggerFactory from categoryFactory element
    getLoger("com.aionemu.commons.test.Logger")
    <category name="com.aionemu.commons.test.Logger"/>


    This example will use LoggerFactory from log4j.loggerfactory
    getLoger("com.aionemu.commons.test.Logger")
    <category name="com.aionemu.commons.test"/>



    Also, categories can use their own loggers by specifiing logger class.
    <category name="some name" class="com.aionemu.commons.log4j.MyLoggerInstance"/>

    In such case specified logger class must contain public static method called getLogger(String name)

    Example:
    public static class MyLoggerInstance extends Logger{

    public static MyLoggerInstance getLogger(String name){
    return new MyLoggerInstance(); // caching with WeakHashMap can be used here
    }
    }

    -->
    <categoryFactory class="com.aionemu.commons.log4j.ThrowableAsMessageAwareFactory"/>

    </log4j:configuration>
     
    Последнее редактирование модератором: 30 апр 2016
  2. Offline

    klubheads Сержант Команда форума Модератор

    2.011
    356
    189
    Кредиты:
    $2.140,45
    Репутация:
    54
    Не думаю , что причина в этом файле .
    Для начала убери кириллицу в пути к серверу , а именно AionUnique rev.2193; готовый сервер (может там и ещё где то есть , лучше бы лог выложил - на скринах ничего не видно)
    В пути запуска не должно быть русских букв , а с этим файлом никогда проблем не было .
     
    Последние данные очков репутации:
    Саша Фурсик: 1 Очко 30 апр 2016
  3. TopicStarter Overlay
    Offline

    Саша Фурсик Рядовой

    27
    0
    34
    Кредиты:
    $126,00
    Репутация:
    0
    вся проблема была в том что кириллица была в пути , все запустил , както забыл про это , спасибо!)