Total Pageviews
Friday, August 17, 2012
Go and check out the Eclipse Memory Analyzer in case of OutOfMemory exceptions
I have to mention this great tool once again: The Eclipse Memory Analyzer is an awesome tool to analyze heap dumps and to find problems very fast. Especially the "Leak Suspects" feature is very useful for determining memory leaks in your application.
Thursday, August 16, 2012
Confluence Wiki PDF Export and generating a title page
Sometimes you have the requirement to export docs written in Confluence as PDF so customers who don't get access to your wiki can read it.
Often your company has guidelines for publishing documents to the outside (or for customers).
Confluence doesn't generate a title page as default when you do a single page export or a space export as PDF.
This article (sorry, only in german) describes how to achieve this in a few steps.
It only works using the space export to PDF not the single page export.
The author has forgotten to include the CSS styles for the title page so I will publish mine as a starting point.
Often your company has guidelines for publishing documents to the outside (or for customers).
Confluence doesn't generate a title page as default when you do a single page export or a space export as PDF.
This article (sorry, only in german) describes how to achieve this in a few steps.
It only works using the space export to PDF not the single page export.
The author has forgotten to include the CSS styles for the title page so I will publish mine as a starting point.
.KonzeptTitel {
font-size: 36px !important;
text-align: center;
padding-top: 150px !important;
}
.KonzeptThema {
font-size: 24px !important;
text-align: center;
padding-top: 100px !important;
padding-bottom: 200px !important;
}
.KonzeptAutor {
font-size: 16px !important;
text-align: left;
}
.KonzeptDatum {
font-size: 16px !important;
text-align: left;
}
.KonzeptVersion {
font-size: 16px !important;
text-align: left;
}
.pdfTitelblattText {
font-size: 16px !important;
text-align: left;
}
Hope this helps somebody.
Thursday, August 02, 2012
SMTP Appender with logback and reducing log messages in email
Logback has some pretty cool features which makes developer life so much easier. Among them is configuring the buffer size of the log messages. Especially in conjunction with error messages delivered by the email appender adjusting the buffer size is very useful.
This blog entry shows you how to configure email alerts with logback and how to reduce the quantity of log messages in the error mail.
The default buffer size for log messages is set to 256 which might scatter your email with too much infos. The example given in the blog reduces the lines to 5 so you will receive only the latest 4 log messages (if logged) previously issued by your application including the error log message.
This blog entry shows you how to configure email alerts with logback and how to reduce the quantity of log messages in the error mail.
The default buffer size for log messages is set to 256 which might scatter your email with too much infos. The example given in the blog reduces the lines to 5 so you will receive only the latest 4 log messages (if logged) previously issued by your application including the error log message.
Subscribe to:
Posts (Atom)