Home > Software engineering >  Add Apache virtualhost logs to PhpStorm project files
Add Apache virtualhost logs to PhpStorm project files

Time:10-07

I want to add some sort of shortcut to the C:\Apache24\logs\coreshop_demo.local.*.log files to the PhpStorm project files, so I don't have to navigate to the C:\Apache24\logs\ directory and open them in the editor manually. Is there a way to do so?

CodePudding user response:

Well... you can create a symbolic link in your project folder that will point to that Apache's log folder. It will be displayed in the Project View as an ordinary folder.

Or you can add that folder as an Additional Content Root. Such an entry will be displayed in the Project View panel as an additional node (the project itself is a Content Root already) and will be an IDE-only solution.

For that go to Settings/Preferences | Directories and use "Add Content Root" button: enter image description here

  • Related