• RSS
  • Twitter
  • FaceBook

Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

How to write log file in an app filter?

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2004 Misc.] >> ISA Server 2004 Programming >> How to write log file in an app filter? Page: [1]
Login
Message << Older Topic   Newer Topic >>
How to write log file in an app filter? - 1.Sep.2005 10:09:00 PM   
liuyuanxun_1983

 

Posts: 16
Joined: 17.Aug.2005
From: china
Status: offline
When I use the datamonitor sample in ISA 2004 SDK, I find that the sample filter can't write a log correctly. When I write a filter using the same way as the datamonitor sample do, I find the fopen() return a null file handler. Can't I open a file in a filter's FilterInit() method to write my own log? What should I do to write a filter which can write a customed log?
Post #: 1
RE: How to write log file in an app filter? - 2.Sep.2005 4:58:00 AM   
JesseA

 

Posts: 51
Joined: 15.Aug.2002
Status: offline
Application filters are executed in context of NETWORK SERVICE account, so check that it has NTFS write permissions in folder where you create your log.

(in reply to liuyuanxun_1983)
Post #: 2
RE: How to write log file in an app filter? - 4.Sep.2005 10:12:00 PM   
liuyuanxun_1983

 

Posts: 16
Joined: 17.Aug.2005
From: china
Status: offline
Thank u!

(in reply to liuyuanxun_1983)
Post #: 3

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2004 Misc.] >> ISA Server 2004 Programming >> How to write log file in an app filter? Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts