Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 27332 invoked from network); 28 Nov 2009 04:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Nov 2009 04:47:17 -0000 Received: (qmail 17548 invoked by uid 500); 28 Nov 2009 04:47:16 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 17328 invoked by uid 500); 28 Nov 2009 04:47:14 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 17317 invoked by uid 99); 28 Nov 2009 04:47:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2009 04:47:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shivarajece@gmail.com designates 209.85.222.188 as permitted sender) Received: from [209.85.222.188] (HELO mail-pz0-f188.google.com) (209.85.222.188) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2009 04:47:05 +0000 Received: by pzk26 with SMTP id 26so1315032pzk.4 for ; Fri, 27 Nov 2009 20:46:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=JPSsAGyf7omHojFC7tHpUrwl6DM6Gl1r+qzNxI4law4=; b=UoP5WOwhtYJyetpcHyFgXGL2mP7ZNhQ8tXw5QDlFNMK6KfBthKXfkdpExUBJS+Dxxe HROqD80AM1nI+NXdO5poWHVzzntlCxcZ01QKpV4c0tHoMwvp0jbG8L+uwFsZbgFgLJGY jaJdl4Ne5Nnm3/+IeeAe8UrlBZLvzAlZ1V2Gs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UzJcb8iWd5vg9OEQGNRDNu1VdkKtz2tW2QcF2zgkyl2P6N5gJe8WwPW/DhZ1Jpvy1U 5SNrf2U5qlllcuFjkiHC2UdGFUTvY8tGIiv8yEdd9yfDIS85fnbkX44wU2ZXCI9NLgXu IhBEhcUmff+f9ml1JU15OCDBN41Vznd1cyVC4= MIME-Version: 1.0 Received: by 10.143.154.6 with SMTP id g6mr182164wfo.106.1259383604339; Fri, 27 Nov 2009 20:46:44 -0800 (PST) Date: Sat, 28 Nov 2009 10:16:44 +0530 Message-ID: Subject: webapplication logging - one log file per user From: Shekar To: log4net-user@logging.apache.org Content-Type: multipart/alternative; boundary=001636e0a67d5f65a90479671867 X-Virus-Checked: Checked by ClamAV on apache.org --001636e0a67d5f65a90479671867 Content-Type: text/plain; charset=ISO-8859-1 Hi, Please help me with this query in using log4net. I am using log4net in mhy we application. I am facing issues in configuring log4net to log errors at user level. That is, If user X logs in, I like to create file name X and all error for user X should be written in X.log. Siilarly if Y user logs in the log file should be in name of Y.log and the most important point to note is, they could log in concurrently. I tried the luck by creating log files whose name would be framed dynamically as soon as the user logs in. But issue here, if they are not using the application at the same time, the log files are creeated with correct name and writing as expected, but if both users have active sessions, log file is created only for user who FIRST logged in and error of second user has been recorded in log file that is created for FIRST user. Please help me in this. Thanks much. --001636e0a67d5f65a90479671867 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
=A0
Please help me with this query in using log4net.
=A0
I am using log4net in mhy we application. I am facing issues in config= uring log4net to log errors at user level.
=A0
That is, If user X logs in, I like to create file name X and all error= for user X should be written in X.log. Siilarly if Y user logs in the log = file should be in name of Y.log and the most important point to note is, th= ey could log in concurrently.
=A0
I tried the luck by creating log files whose name would be framed dyna= mically as soon as the user logs in. But issue here, if they are not using = the application at the same time, the log files are creeated with correct n= ame and writing as expected, but if both users have active sessions, log fi= le is created only for user who FIRST logged in and error of second user ha= s been recorded in log file that is created for FIRST user.
=A0
Please help me in this.
=A0
Thanks much.

--001636e0a67d5f65a90479671867--