Closed mnatikk closed 6 years ago
@mnatikk, благодарю за проявленный интерес!
Судя по этой ошибке, программе не удалось распознать версию утилиты tail
, установленной на этой машине. Для прояснения нужна следующая информация:
tail --version
в консоли?usage
для этой утилиты tail
? (если такой вывод доступен)mnatikk$ tail --version
tail: illegal option -- -
usage: tail [-F | -f | -r] [-q] [-b # | -c # | -n #] [file ...]
@mnatikk, спасибо!
Добавил поддержку MacOS'ного tail
. Прошу проверить ее в действии.
Актуальный дистрибутив можно скачать пока из ветки.
@Toparvion, cпасибо, приложение запустилось на сборке 0.8.1
версия 0.8 java version "1.8.0_65"
2018-02-15 22:26:13.519 WARN 25258 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tailingFlowProvider' defined in URL [jar:file:/Users/mnatikk/app/analog-v0.8/analog.jar!/BOOT-INF/classes!/tech/toparvion/analog/remote/agent/TailingFlowProvider.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tailSpecificsProvider' defined in class path resource [tech/toparvion/analog/remote/server/ServerConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [tech.toparvion.analog.service.tail.TailSpecificsProvider]: Factory method 'tailSpecificsProvider' threw exception; nested exception is java.lang.IllegalStateException: No suitable specifics provider found for tail's idf string: tail: illegal option -- - Please post this message to https://github.com/Toparvion/analog/issues/new in order to support this tail implementation in future versions of AnaLog.