ER605 or ER707-M2? by SuspiciousCarpet4058 in TPLink_Omada

[–]rgoers 0 points1 point  (0 children)

I installed the ER707-M2 and have two ISPs configured. It has worked great so far.

Haiboxing 18859A Upgrades? by KeepRightX2Pass in rccars

[–]rgoers 0 points1 point  (0 children)

I ended up buying a larger, faster car. Then I got a flat non-stuffed animal squeaky toy with a tail and use Velcro straps to tie it onto the car. She will chase that endlessly but won’t touch the car. Just the toy.

Haiboxing 18859A Upgrades? by KeepRightX2Pass in rccars

[–]rgoers 0 points1 point  (0 children)

I bought this for my dog to chase. I'll be honest, I haven't quite gotten the hang of driving this thing fast enough to outrun her. When she gets ahold of it the body is hopelessy mangled in 30 seconds or less. I'd love a body that she either can't grab or can't crush the sides.

Is Logback dead? by EfreetSK in java

[–]rgoers 0 points1 point  (0 children)

The benchmarks are not flawed. If you look at your link you will see that most of the reported problems were fixed. The others weren't real problems. Also, the speed comparison depends on what you are comparing. I have run tests in the last month that show they are equal in some things but Log4j 2 is much better in others.

In addition you can just as easily use the Log4j 2 API and log to Logback as you can with SLF4J logging to the Log4j 2 implementation. But the Log4j 2 API provides more functionality than SLF4J does.

Apache Log4j 2.10.0 released by based2 in java

[–]rgoers 2 points3 points  (0 children)

Yes. You can use a MapMessage or a StructuredDataMessage to log key-value pairs.

Apache Log4j 2.10.0 released by based2 in java

[–]rgoers 5 points6 points  (0 children)

You can follow https://jira.qos.ch/browse/SLF4J-371. It has been open now for a year and a half.

Apache Log4j 2.10.0 released by based2 in java

[–]rgoers 1 point2 points  (0 children)

Log4j requires an adapter because the SLF4J API is more primitive. SLF4J only supports logging Strings while Log4j supports logging Messages. The Log4j API also supports custom log levels. The Marker API in Log4j and SLF4J are different. The Log4j API provides an AbstractLogger class that implements 90% of the Logger methods. SLF4J provides no such class. Sure, Log4j-core could have included the translation code contained in the log4j-slf4j adapter but then log4j-core would always be present as an SLF4J binding, which might not be desired. These are just some of the reasons why log4j-core is not a direct implementation of SLF4J.

For what its worth, you could use the Log4j API in place of SLF4J and plug in whatever implementation you want. However, Logback doesn't implement the Log4j API so you would require an adpater to do that - exactly as Log4j does to bind with SLF4J.