Comments (4)
Just a thought: you might want to include a stack-trace to make this easier to debug.
from logback-android.
The SyslogStartConverter
was attempting to get the localhost's name, which invokes a network lookup. This issue has been resolved. Please test 1.0.7-2-SNAPSHOT.jar. You can also get the snapshot from Maven at https://oss.sonatype.org/content/repositories/snapshots.
To use the SyslogAppender
from the main thread, you must use it via an AsyncAppender
. Example logback.xml:
<configuration debug='true'>
<appender name="SYSLOG" class="ch.qos.logback.classic.net.SyslogAppender">
<syslogHost>10.0.2.2</syslogHost>
<facility>AUTH</facility>
</appender>
<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="SYSLOG" />
</appender>
<root level="DEBUG">
<appender-ref ref="ASYNC" />
</root>
</configuration>
from logback-android.
Thanks. I am traveling and will test on Thursday.
On Sat, Nov 10, 2012 at 6:20 PM, Tony Trinh [email protected]:
The SyslogStartConverter was attempting to get the localhost's name,
which invokes a network lookup. This issue has been resolved. Please test
1.0.7-2-SNAPSHOT.jarhttps://github.com/downloads/tony19/logback-android/logback-android-1.0.7-2-SNAPSHOT.jar.
You can also get the snapshot from Maven at
https://oss.sonatype.org/content/repositories/snapshots.To use the SyslogAppender from the main thread, you must use it via an
10.0.2.2 AUTH
AsyncAppender. Example logback.xml:<root level="DEBUG"> <appender-ref ref="ASYNC" /> </root>
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-10262451.
from logback-android.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from logback-android.
Related Issues (20)
- How to append Build Version Number with Log Main File HOT 1
- Document usage compatible with the standard JUnit tests
- write log after app killed ,how to write log real time HOT 1
- Log file is not creating at very first time when app gets launched in android. HOT 5
- No log is printed with Slf4j 2.x.x HOT 10
- Missing SSL parameter configuration HOT 1
- Dependency Dashboard
- how to rename locback.xml as logback-demo.xml HOT 1
- Caused by java.lang.NullPointerException Attempt to invoke interface method 'void androidx.appcompat.view.menu.d.u(int)' on a null object reference HOT 1
- ArrayIndexOutOfBoundsException on Android 10
- LogcatAppender show errors for logs' "highlighting".
- Lazy setting does not work
- Can't Create Logger: DateTokenConverter not found? HOT 2
- The log cannot be written correctly in the case of multi-process Android application? HOT 2
- Cannot create AAR with ./scripts/makejar.sh HOT 1
- Excepton in kotlin app with jetpack compose, only in release mode HOT 1
- Missing transitive dependency on slf4j-api-2.x
- The release version turns on minifyEnabled, and the file name is printed as null. <pattern>[%date] [%file:%line] - %msg%n</pattern>
- logback-android and logback-classic ILoggingEvent binary incompatibility getMarkers vs getMarkerList HOT 1
- can not write to the file that under the android getExternalFilesDir()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logback-android.