sdeol Posted April 11, 2017 Posted April 11, 2017 Hi folks, How to change folder for 'log_isapi'? I am able to change the 'log' folder through the UniServerModule.Logger.Path property. But 'log_isapi' folder never seem to get changed. It is defined in a constant. How to change the folder for 'log_isapi'? Thanks Sukhbir Quote
Administrators Farshad Mohajeri Posted April 12, 2017 Administrators Posted April 12, 2017 You can change it in BeforeInit event. procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); begin Logger.Path := 'NewPath'; end; Quote
sdeol Posted April 12, 2017 Author Posted April 12, 2017 Hi Farshad, That's what I have been doing. I tested it again. I am assigning the 'New Path' in 'BeforeInit' event. But the 'log_isapi' folder always gets created in the folder in which dll is accessed. It does not get changed to the 'New Path'. Whereas, all the other log info created afterwards gets created in the 'New Path' folder. I'd appreciate your reply. Thanks Quote
sdeol Posted April 13, 2017 Author Posted April 13, 2017 Hi Farshad, As I said in my last post yesterday I am assigning the 'New Path' in the 'BeforeInit' event. But this path does not get changed. Is it possible to change the path for this 'log_isapi' folder? Thanks Quote
Administrators Farshad Mohajeri Posted April 13, 2017 Administrators Posted April 13, 2017 In next build I will define the internal constant as an assignable string so you will be able to change it: ISAPI_LOG_PATH : string = 'log_isapi'; Quote
Administrators Farshad Mohajeri Posted April 13, 2017 Administrators Posted April 13, 2017 BTW, please go to customer portal and adjust your forum email address. Quote
sdeol Posted April 13, 2017 Author Posted April 13, 2017 Thanks - But I find no option in the Customer Portal in 'Team Management' to adjust my forum email address? You mean change the assignee to the product? Quote
Administrators Farshad Mohajeri Posted April 13, 2017 Administrators Posted April 13, 2017 Thanks - But I find no option in the Customer Portal in 'Team Management' to adjust my forum email address? You mean change the assignee to the product? Please follow: Manage->Account Quote
sdeol Posted April 13, 2017 Author Posted April 13, 2017 Thanks, I'll change the forum email address. Will I be notified when the new build is available with this functionality? Quote
Sherzod Posted April 13, 2017 Posted April 13, 2017 Thanks, I'll change the forum email address Hi, We will let you khow. Best regards. Quote
Administrators Farshad Mohajeri Posted April 14, 2017 Administrators Posted April 14, 2017 Will I be notified when the new build is available with this functionality? This feature will be available. Quote
sdeol Posted April 25, 2017 Author Posted April 25, 2017 Hi Farshad, Is there a build released with this functionality included? Thanks Quote
Administrators Farshad Mohajeri Posted April 25, 2017 Administrators Posted April 25, 2017 Yes, latest build. Quote
sdeol Posted April 25, 2017 Author Posted April 25, 2017 Do I need to completely uninstall the previous build and reinstall the latest new build or is there some other mechanism to merge? Thanks. Quote
Administrators Farshad Mohajeri Posted April 25, 2017 Administrators Posted April 25, 2017 Installing new version is enough. Quote
sdeol Posted May 2, 2017 Author Posted May 2, 2017 Hi Farshad - I installed the new Build 1.0.0.1391, but ISAPI_LOG_PATH is still showing as a constant. You said that the updated functionality is included in this new build. How can I assign and change this value? Thanks Quote
Administrators Farshad Mohajeri Posted May 2, 2017 Administrators Posted May 2, 2017 Yes, you are correct. I will move it to Vars instead of Const section. Until next build you can try enabling option Assignable Typed Constants Quote
sdeol Posted May 2, 2017 Author Posted May 2, 2017 Hi Farshad - I asked you categorically and you said the functionality is included in the latest build. I spent time upgrading to this latest build in vain, otherwise, had I known I would have gladly waited?? Quote
Administrators Farshad Mohajeri Posted May 2, 2017 Administrators Posted May 2, 2017 Hi, I have set it wrong in Const section while it should be in Var. For now in projects options compiler options set -> Assignable Typed Constants Quote
Administrators Farshad Mohajeri Posted May 2, 2017 Administrators Posted May 2, 2017 Btw, why do you need to change the default name? Quote
sdeol Posted May 2, 2017 Author Posted May 2, 2017 I don't want to change the default name. I want to change the folder where this folder 'ISAPI_LOG' gets created. Quote
sdeol Posted June 21, 2017 Author Posted June 21, 2017 Hi Farshad - Has this change been done? If yes, would you please let me know the Build Number in which this has been included? Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.