I only want log4net to keep let's say 10 days-worth of log files as keeping them growing indefinitely will eventually eat up my disk space. I had thought that I could do this by setting
<maxSizeRollBackups value="10" />
on my RollingFileAppender but no dice. How do I do this?
...
Do you guys memorize the tags in
your XML configurations particularly
in Java?
Do you guys memorize the tags in
web.xml, in your Ant configuration
files, in your Spring configuration
files?
Also do you code them by hand or do
you have an IDE and a reference with
you?
I'm a noob wanting to know how the pros do it :)
...
When I build and run my application I get a directory listing in the browser (also happens for sub folders), and I have to click on Index.aspx. It's making me crazy.
Visual Studio 2008
ASP.NET Development Server 9.0.0.0
...
I have a WebSite project in Visual Studio 2008 (not a Web Application project!)
How do I set the ASP.NET Development startup port to a static port in a WebSite project?
...
How do I make a schema for custom config sections? I tried making one, but when I used it, it said the only expected element was what I had in that schema, and complained about the standard web.config stuff, even though I was still using the normal DotNetConfig.xsd file too.
...
Has anyone ever tried to use custom binding with SSL in a WCF web service? I've seen a number of examples on how to do this with basicHttpBinding and wsHttpBinding but the equivalent always fails for customBinding. Specifically what I'm currently working with (the most successful configuration yet) looks something like this:
<system.s...
There are a number of plugins for Hudson to create coverage, test result, metrics and other reports.
It seems that all of them require you to add extra configuration to your build scripts (or Maven POM) for every project that you want to have the reporting done. For example, if you want to have a FindBugs or a Cobertura report, you need...
I am trying to configuring apache webserver with tomcat using AJP but i am not sure am i doing it right or not.
Here are the steps that i followed
Enabled required module in httpd.conf file
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
Added the ifModule condition...
Hey Folks,
I have a program that reads server information from a configuration file and would like to encrypt the password in that configuration that can be read by my program and decrypted.
Requirments:
Encrypt plaintext password to be stored in the file
Decrypt the encrypted password read in from the file from my program
Any recc...
I've noticed with my source control that the content of the output files generated with ConfigParser is never in the same order. Sometimes sections will change place or options inside sections even without any modifications to the values.
Is there a way to keep things sorted in the configuration file so that I don't have to commit trivi...
I have an old PowerBuilder application that we are slowly phasing out. We are also moving to a more service orientated. So in order to facilitate this we are using C# COM wrappers to call WCF methods so old direct SQL calls can be slowly removed. We also use the C# COM wrappers when need functionality is needed in the power builder appli...
Hi How would you solved that?
I have one application in which I have a few configuration files, I make war file and deploy it on the tomcat.
But at the same time I have to make the war file and deploy the same application under different context and/or a server with modified configuration files.
I can create my own task in ant, and ...
I am looking for ideas on the best way to persist an array of values from one web session to the next. I will be populating a Checkbox list and would like to persist the last set of selected checkboxes to the next session. (this is meant to save time for the user since they will likely always select the same subset of checkboxes.)
I wil...
After adding log4j to my application I get the following output every time I execute my application:
log4j:WARN No appenders could be found for logger (slideselector.facedata.FaceDataParser).
log4j:WARN Please initialize the log4j system properly.
It seems this means a configuration file is missing.
Where should this config file be l...
I have the following three tables:
Item
Code
ItemCode (many to many relationship between Item and Code)
And then I have the following sample data on the third table:
Item | Code
-----+-----
001 | A
002 | A
003 | B
There's a possibility that a new Item is added but does not have a code yet. I will assign a default code for this ...
I'd like to have the functionality of merging/inheriting the web.config of one site with that of a shared web.config, but without having the site being a child site of the site with the shared web.config.
Is there a way to implement similar functionality?
What I'm trying to do have a shared web.config in any folder (could be outside of...
Hi,
I was wondering if there is any way to make a copy of an existing web.config file(rename the newly created file) with the nant build.
...
Hello,
I've just started learning about extending the Configuration file structure by creating custom section types ( using ConfigurationSection class ), but I'm not sure I understand its usefulness.
BTW – this is not a »custom section type vs appSettings« question. I already understand the benefits of using custom section types over...
hi..
i am facing one problem.
i want to save settings in app.config file
i wrote separate class and defined section in config file..
but when i run the application. it does not save the given values into config file
here is SettingsClass
public class MySetting:ConfigurationSection
{
private static MySetting settings = ...
Hi All
I want to create a custom configuration section to handle email notifications. The configuration needs to be in the following format:
<configSections>
<sectionGroup name="notifications">
<section name="notification" type="NotificationConfiguration" allowLocation="true" allowDefinition="Everywhere" />
</sectionGro...