sdeol Posted April 11, 2017 Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted April 12, 2017 Share Posted April 12, 2017 Hi, Which edition and build are you using? Quote Link to comment Share on other sites More sharing options...
sdeol Posted April 12, 2017 Author Share Posted April 12, 2017 uniGUI Professional 1.0.0.1384 RC Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 12, 2017 Administrators Share Posted April 12, 2017 You can change it in BeforeInit event. procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); begin Logger.Path := 'NewPath'; end; Quote Link to comment Share on other sites More sharing options...
sdeol Posted April 12, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
sdeol Posted April 13, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 13, 2017 Administrators Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 13, 2017 Administrators Share Posted April 13, 2017 BTW, please go to customer portal and adjust your forum email address. Quote Link to comment Share on other sites More sharing options...
sdeol Posted April 13, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 13, 2017 Administrators Share 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 Link to comment Share on other sites More sharing options...
sdeol Posted April 13, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted April 13, 2017 Share Posted April 13, 2017 Thanks, I'll change the forum email address Hi, We will let you khow. Best regards. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 14, 2017 Administrators Share Posted April 14, 2017 Will I be notified when the new build is available with this functionality? This feature will be available. Quote Link to comment Share on other sites More sharing options...
sdeol Posted April 25, 2017 Author Share Posted April 25, 2017 Hi Farshad, Is there a build released with this functionality included? Thanks Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 25, 2017 Administrators Share Posted April 25, 2017 Yes, latest build. Quote Link to comment Share on other sites More sharing options...
sdeol Posted April 25, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 25, 2017 Administrators Share Posted April 25, 2017 Installing new version is enough. Quote Link to comment Share on other sites More sharing options...
sdeol Posted May 2, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 2, 2017 Administrators Share 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 Link to comment Share on other sites More sharing options...
sdeol Posted May 2, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 2, 2017 Administrators Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 2, 2017 Administrators Share Posted May 2, 2017 Btw, why do you need to change the default name? Quote Link to comment Share on other sites More sharing options...
sdeol Posted May 2, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
sdeol Posted June 21, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
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.