diff --git a/slf4j-site/src/site/pages/css/site-copy.css b/slf4j-site/src/site/pages/css/site-copy.css new file mode 100644 index 00000000..7b848d70 --- /dev/null +++ b/slf4j-site/src/site/pages/css/site-copy.css @@ -0,0 +1,471 @@ +html { + padding:0px; + margin:0px; +} + +body { + background-color: #fff; + font-family: Verdana, Arial, SunSans-Regular, Sans-Serif; + color: #000; + padding:0px; + margin:0px; + font-size: small; +} + +#job img { border:1px solid #DDDDDD; } +#job:hover img { border:1px solid #8888EE; } + +p, h2, pre { + margin: 0px; + padding-top: 5px; + padding-bottom: 5px; + /*padding-left: 1ex;*/ + /*padding: 5px 20px 5px 20px; */ +} + +p.rm { + padding-top: 0px; + padding-bottom: 0px; +} + +a { + color: #4183c4; + /*font-size: smaller;*/ + background-color:transparent; + text-decoration: none; +} + +#container { + margin-left: auto; + margin-right: auto; + max-width: 90em; + +} + +#content a:hover { + text-decoration: underline; +} + +.source { + border-top: 1px solid #DDDDDD; + border-bottom: 1px solid #DDDDDD; + background:#f5f5f5; + font-family: Courier, "MS Courier New", Prestige, Everson Monocourrier, monospace; + padding-bottom: 0.5ex; + padding-top: 0.5ex; + padding-left: 1ex; + + margin-left: 0ex; + margin-top: 0.5ex; + margin-bottom: 0.5ex; + white-space: pre; + + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +pre { + background-color:transparent; + font-family: Monaco, Andale Mono, Courier New, monospace; +} + +.alignright { + margin-top: 0; + text-align: right; + font-size: 10px; +} + +h1, h2, h3, h4 { + color: #333; +} + +h2 { + padding-top:10px; + background-color: transparent; + font-weight: 900; + font-size: x-large; +} + +h3 { + padding-top: 5px; + background-color: transparent; + font-weight: normal; + font-size: large; +} + +h4 { + padding-top:5px; + background-color: transparent; + font-weight: normal; + font-size: large; +} + +table.footer { + width: 100%; +} + +.footer { + text-align: right; + color: #564b47; + background-color: #fff; + padding:0px; + border-top: 1px solid #CCCCCC; + margin-top: 3ex; + font-size: smaller; +} + + +strong { + /*font-size: 13px;*/ + font-weight: bold; +} + +/* positioning-layers static and absolute */ + +#breadcrumbs { + padding: 3px 10px 3px 10px; + margin: 0px 4px 0px 4px; + font-size: small; + border: 1px solid #CCCCCC; + /*border-bottom: 1px solid #aaa; + /* background-color: #ccc; lime; + border-color: #663300;*/ + background-color: #ffd0a0; + /*max-width: 77em;*/ +} + +#left { + //position: fixed; + //left: 0px; + + float: left; + width: 15em; + margin: 4px 0px 0px 4px; + padding: 0px; + font-size: 80%; + background-color: #ffffff; +} + +.menuGroup { + border: 1px solid #cccccc; + background-color: #fff8e8; + color: #564b47; + border: 1px solid #cccccc; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.menuGroup a { + display: block; + width: 95.5%; + margin: 0px; + padding: 2px; + border: solid 1px #fff8e8; + color: #0066cc; + text-decoration: none; +} + +.menuGroup a:hover { + border: solid 1px #FFFFFF; + background-color: #3333CC; + color: #ffffff; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.pub { + text-align: center; +} + +#left .pub a:hover { + background-color: transparent; + border: solid 0px #FFFFFF; +} + +#left a:hover, #right a:hover { + border: solid 1px #FFFFFF; + background-color: #3333CC; + color: #ffffff; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +#left div.jobadd { + font-size: 160%; + color: #fff; + margin: 0px; + padding: 1ex; + + text-align: center; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + + background-image: -ms-linear-gradient(bottom right, #FFBB55 0%, #FF8822 100%); + background-image: -moz-linear-gradient(bottom right, #FFBB55 0%, #FF8822 100%); + background-image: -o-linear-gradient(bottom right, #FFBB55 0%, #FF8822 100%); + background-image: -webkit-gradient(linear, right bottom, left top, color-stop(0, #FFBB55), color-stop(1, #FF8822)); + background-image: -webkit-linear-gradient(bottom right, #FFBB55 0%, #FF8822 100%); + background-image: linear-gradient(to top left, #FFBB55 0%, #FF8822 100%); +} + +#left div.jobadd a, div.jobadd a:hover { + background-color: transparent; + color: #fff; + border-width: 0px; +} + +#right { + //position: absolute; + //right: 0px; + float: right; + width: 14em; + color: #564b47; + margin: 4px 4px 0px 0px; + padding: 0px; + background-color: #ffffff; + border: 1px solid #cccccc; + font-size: 80%; +} + +p.menu_header { + margin: 0px; + padding: 2px; + font-weight: normal; + background-color: #ffd0a0; + border-top: solid 1px #CCCCCC; + border-bottom: solid 1px #CCCCCC; +} + +#content { + margin: 0px 12em 0px 16em; + padding: 0px 2em 0px 0px; + background-color: #ffffff; +} + + +#content img { + border:none; + margin-left: auto; + margin-right: auto; + display: block; +} + +.author { + text-align: left; + font-weight: bold; +} + +.definition { + padding-left: 5px; + padding-right: 5px; + margin: 5px 50px 5px 50px; + text-align: justify; + background-color: #E6E64C; +} + +.deftitle { + font-weight: bold; +} + +.big { + font-size: 130%; +} + +.green { + color: green; +} +.blue { + color: blue; +} + +.red { + color: red; +} + +.bold { + font-weight: bold; +} + +.redBold { + color: red; + font-weight: bold; +} +.greenBold { + color: green; + font-weight: bold; +} + +code { + font-family: Courier, monospace; +} + + +.option { + border: 1px solid black; + font-family: Arial, sans-serif; +} +.highlight { + width: 18em; + float: right; + display: inline; + font-size: 110%; + + border: 2px solid #711; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + background:#FFE0B0; + padding-top: 1ex; + padding-left: 1ex; + padding-right: 1ex; + padding-bottom: 1ex; + margin-left: 1em; + margin-right: 0em; + margin-bottom: 1ex; +} + + +.survey { + font-weight: bolder; + font-size: larger; + + border:1px solid #cccccc; + background:#FFCC99; + padding-left: 1ex; + padding-right: 1ex; +} +/* ========== body table ============ */ +table.bodyTable { + padding: 0px; + margin-left: -2px; + margin-right: -2px; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + font-weight: bold; +} + + +table.bodyTable td { + padding-left: 0.5ex; + padding-bottom: 0.5ex; +} + + +/* apply to tr elements of tables which are both bodytable and dark */ +table[class="bodyTable dark"] tr { + background-color: #ddd; +} + +/* apply to tr elements of tables which are both bodytable and dark */ +table[class="bodyTable properties"] tr { + vertical-align: top; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +table.bodyTable tr.alt { + background-color: #eee; +} + +.striped tr:nth-child(odd) td { + background-color: #f9f9f9; +} +.striped td { + background-color: #f0f0f0; +} + +/* EOF =============== bodyTable =============== */ + +.label { + padding: 1px 3px 2px; + font-size: 9.75px; + font-weight: bold; + color: #ffffff; + text-transform: uppercase; + white-space: nowrap; + background-color: #bfbfbf; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.label.notice { + background-color: #62cffc; +} + + +/* ------------------------------------ */ + +dt.separator { + border-top: 2px solid #888888; + color: #333; + padding-bottom: 1ex; + padding-top: 1ex; + font-weight: bold; +} +dd { + margin-top: 1ex; + margin-bottom: 1ex; +} + +/* ------------------------------------ */ +.anchor { display:none; } + +h1 .anchor:before {content:url(anchor24.png);} +h2 .anchor:before {content:url(anchor20.png);} +h3 .anchor:before {content:url(anchor16.png);} +h4 .anchor:before {content:url(anchor12.png);} +td .anchor:before {content:url(anchor12.png);} +dt .anchor:before {content:url(anchor12.png);} + +h1:hover .anchor { margin-left: -24px; } +h2:hover .anchor { margin-left: -20px; } +h3:hover .anchor { margin-left: -16px; } +h4:hover .anchor { margin-left: -12px; } +td:hover .anchor { margin-left: -12px; } +dt:hover .anchor { margin-left: -12px; } + +h1:hover .anchor, +h2:hover .anchor, +h3:hover .anchor, +h4:hover .anchor, +td:hover .anchor, +dt:hover .anchor { + display: inline-block; + text-decoration: none; +} + + +/* ------------ twitter button ------- */ +.twitter_button { + vertical-align: text-bottom; + padding-top: 3px; + padding-right: 16px; + float: left; + height: 18px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); + white-space: nowrap; + background-color: white; + background-image: -moz-linear-gradient(top, #ffffff, #dedede); + background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dedede)); + background-image: -ms-linear-gradient(top, #ffffff, #dedede); + background-image: linear-gradient(top, #ffffff, #dedede); + background-image: -o-linear-gradient(top, #ffffff, #dedede); + border: #CCC solid 1px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} diff --git a/slf4j-site/src/site/pages/css/site.css b/slf4j-site/src/site/pages/css/site.css index d2c58a81..b8053940 100755 --- a/slf4j-site/src/site/pages/css/site.css +++ b/slf4j-site/src/site/pages/css/site.css @@ -210,6 +210,22 @@ span.asGroovy:hover { } /* ------------------------------------ */ + +dt.separator { + border-top: 2px solid #888888; + color: #333; + padding-bottom: 1ex; + padding-top: 1ex; + font-weight: bold; +} + +/* +dd { + margin-top: 1ex; + margin-bottom: 1ex; +} +*/ +/* ------------------------------------ */ .anchor { display:none; } diff --git a/slf4j-site/src/site/pages/faq.html b/slf4j-site/src/site/pages/faq.html index 7cd70e5e..856203ff 100755 --- a/slf4j-site/src/site/pages/faq.html +++ b/slf4j-site/src/site/pages/faq.html @@ -202,7 +202,7 @@

Generalities

-
What is SLF4J?
+
What is SLF4J?

SLF4J is a simple facade for logging systems allowing the end-user to plug-in the desired logging system at deployment @@ -210,7 +210,7 @@

-
When should SLF4J be used?
+
When should SLF4J be used?

In short, libraries and other embedded components should @@ -255,7 +255,7 @@

-
Is SLF4J yet +
Is SLF4J yet another logging facade?
@@ -269,7 +269,7 @@
-
If SLF4J fixes JCL, +
If SLF4J fixes JCL, then why wasn't the fix made in JCL instead of creating a new project?
@@ -300,7 +300,7 @@ -
When using SLF4J, do +
When using SLF4J, do I have to recompile my application to switch to a different logging system?
@@ -323,7 +323,7 @@ -
What are SLF4J's +
What are SLF4J's requirements?
@@ -371,7 +371,7 @@ -
+
What has changed in SLF4J version 2.0.0?
@@ -454,7 +454,7 @@ -
Are SLF4J versions +
Are SLF4J versions backward compatible?
@@ -491,7 +491,7 @@ -
I am getting +
I am getting IllegalAccessError exceptions when using SLF4J. Why is that?
@@ -543,7 +543,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
Why is SLF4J licensed under +
Why is SLF4J licensed under X11 type license instead of the Apache Software License?
@@ -561,7 +561,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
Where can I get a +
Where can I get a particular SLF4J provider/binding?
@@ -589,7 +589,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
Should my library +
Should my library attempt to configure logging?
@@ -610,7 +610,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
In order to reduce +
In order to reduce the number of dependencies of our software we would like to make SLF4J an optional dependency. Is that a good idea?
@@ -702,7 +702,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
What about Maven transitive +
What about Maven transitive dependencies?
@@ -749,7 +749,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
How do I exclude +
How do I exclude commons-logging as a Maven dependency?
@@ -872,7 +872,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory -
What are the JPMS +
What are the JPMS module names of the various SLF4J artificats?
@@ -928,7 +928,7 @@ org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory
-
Why don't the +
Why don't the printing methods in the Logger interface accept message of type Object, but only messages of type String?
@@ -985,7 +985,7 @@ debug(String msg, Throwable t); -
Can I log an +
Can I log an exception without an accompanying message?
@@ -1043,7 +1043,7 @@ debug(String msg, Throwable t); -
What is the +
What is the fastest way of (not) logging?
@@ -1190,7 +1190,7 @@ logger.debug("The new entry is {}.", entry); -
How can I log the +
How can I log the string contents of a single (possibly complex) object?
@@ -1220,7 +1220,7 @@ logger.debug("The new entry is {}.", entry); -
Why doesn't the +
Why doesn't the org.slf4j.Logger interface have methods for the FATAL level?
@@ -1282,7 +1282,7 @@ class Bar { -
Why was the TRACE level +
Why was the TRACE level introduced only in SLF4J version 1.4.0?
@@ -1327,7 +1327,7 @@ class Bar {
-
Does the SLF4J logging API +
Does the SLF4J logging API support I18N (internationalization)?
@@ -1343,7 +1343,7 @@ class Bar { -
Is it possible to +
Is it possible to retrieve loggers without going through the static methods in LoggerFactory?
@@ -1376,7 +1376,7 @@ class Bar { -
In the presence of an +
In the presence of an exception/throwable, is it possible to parameterize a logging statement?
@@ -1420,7 +1420,7 @@ try { -
How do I make my +
How do I make my logging framework SLF4J compatible?
@@ -1479,7 +1479,7 @@ try { -
How can my logging +
How can my logging system add support for the Marker interface?
@@ -1513,7 +1513,7 @@ try { -
How does SLF4J's +
How does SLF4J's version check mechanism work?
@@ -1570,7 +1570,7 @@ try {
-
Should Logger members +
Should Logger members of a class be declared as static?
@@ -1735,7 +1735,7 @@ try {
-
Is there a +
Is there a recommended idiom for declaring a logger in a class?
diff --git a/slf4j-site/src/site/pages/log4shell.html b/slf4j-site/src/site/pages/log4shell.html index c14c35dc..de1e77b8 100644 --- a/slf4j-site/src/site/pages/log4shell.html +++ b/slf4j-site/src/site/pages/log4shell.html @@ -28,7 +28,8 @@
-

Comments on the log4shell(CVE-2021-44228) vulnerability

+ +

Comments on the log4shell(CVE-2021-44228) vulnerability

Preamble

@@ -273,7 +274,7 @@ Total API - - 45,174 + 75,431 100% @@ -337,6 +338,9 @@ href="https://github.com/lunasec-io/lunasec/blob/master/docs/blog/2021-12-09-log4j-zero-day.md">lunasec-io/lunasec
  • Security in context: When is a CVE not a CVE?
  • + +
  • The + human toll of log4j maintenance
  • diff --git a/slf4j-site/src/site/pages/templates/right.js b/slf4j-site/src/site/pages/templates/right.js index 71d69976..137a54d3 100755 --- a/slf4j-site/src/site/pages/templates/right.js +++ b/slf4j-site/src/site/pages/templates/right.js @@ -22,7 +22,7 @@ function addBlockDetected() { jQuery("#right").append('

    If using SLF4J saves you hours of work, please whitelist this site in your \ -add blocker.

    '); +ad blocker.

    '); } document.write('