[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15596639#comment-15596639 ] Jan Høydahl commented on SOLR-9325: --- Documented in RefGuide https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=32604193=26=25 https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=50856198=50=49 > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325-installscript.patch, SOLR-9325.patch, > SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15596617#comment-15596617 ] ASF subversion and git services commented on SOLR-9325: --- Commit c9cf0eff03763d151a04baccb5530445d5d5feb5 in lucene-solr's branch refs/heads/master from [~janhoy] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c9cf0ef ] SOLR-9325: Remove unnecessary search/replace in installer script > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325-installscript.patch, SOLR-9325.patch, > SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15576536#comment-15576536 ] ASF subversion and git services commented on SOLR-9325: --- Commit bc5e06e34cd6c6d45668fff9969305b1ae8e1ce1 in lucene-solr's branch refs/heads/branch_6x from [~janhoy] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=bc5e06e ] SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties (cherry picked from commit 33db4de) > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15576517#comment-15576517 ] ASF subversion and git services commented on SOLR-9325: --- Commit 33db4de4d7d5e325f8bfd886d3957735b33310a8 in lucene-solr's branch refs/heads/master from [~janhoy] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=33db4de ] SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15575632#comment-15575632 ] Tim Parker commented on SOLR-9325: -- will do - we're calling Tika ourselves, so this probably isn't a Tika issue, but... I know where to find you if it is - thank you! > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15575093#comment-15575093 ] Tim Allison commented on SOLR-9325: --- And for Tika-specific errors, please ping us on our JIRA. Thank you! > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569979#comment-15569979 ] Jan Høydahl commented on SOLR-9325: --- If you see other issues with 6.3-SNAPSHOT, please report it on the solr-user mailing list or directly in JIRA if you are certain it is a bug. I normally search http://search-lucene.com/?fc_project=Solr_project=Lucene= for the error msg to try to locate an existing JIRA before creating a new one. > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569931#comment-15569931 ] Tim Parker commented on SOLR-9325: -- further testing shows that the logs all appear to be going to the right places - I haven't tried this on Windows 7 yet, but I have seen several other (apparently unrelated) problems with 6.3 including '...possible analysis error...' when indexing PDF (as parsed by Tika), and some AlreadyClosedException entries - should I write these up separately? or are these just fallout from this being an interim build? > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569912#comment-15569912 ] Tim Parker commented on SOLR-9325: -- that fixed it... thank you. > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569691#comment-15569691 ] Jan Høydahl commented on SOLR-9325: --- I welcome any other comments on this approach. Plan to commit on friday. The only weakness I can see with this now is * If Solr is started in another way than through bin/solr, people will need to supply {{-Dsolr.log.dir}} manually * If someone use another log framework than log4j, they are on their own. If that framework supports var substitution they can insert a $\{solr.log.dir\} in the config * Windows part only tested on Windows 10, could it break with other windows versions? > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569678#comment-15569678 ] Jan Høydahl commented on SOLR-9325: --- Thanks for testing the build. The empty server/2 folder is a bug in bin/solr where I used {{2&>/dev/null}} instead of {{2>/dev/null}} to redirect stderr. You can fix it with this oneliner: {code} sed -i "" 's|2&>/dev/null|2>/dev/null|g' bin/solr {coxe} > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15569564#comment-15569564 ] Tim Parker commented on SOLR-9325: -- Installed the snapshot... chasing a couple of unrelated things on my end, but what I've seen so far is: 1) the logs all appear to go into the right place 2) Solr is creating an empty directory '2' under the '.../server' directory - not sure if this relates to the specified home directory being empty at startup, but... it shouldn't be there some config info: SOLR_PID_DIR = /home/content/private/keys SOLR_LOGS_DIR = /home/content/private/logs startup command line: /opt/solr/latest/bin/solr start -s /home/content/private/solr -p 8987 -force /opt/solr/latest is a symlink to /media/sf_common/solr/latest, which is itself a symbolic link to the latest Solr build /media/sf_common is a VirtualBox shared folder > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15567828#comment-15567828 ] Jan Høydahl commented on SOLR-9325: --- I made a 6.3.0-SNAPSHOT build from current branch_6x with this patch added, and uploaded to https://dl.dropboxusercontent.com/u/20080302/solr-6.3.0-SNAPSHOT.tgz MD5 checksum: dc6a7ec7b2d6daf6016588134772ce31 SHA checksum: e434d14e49bb5965bfbb3e105210fa4c1a5178ee > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: logging >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15566615#comment-15566615 ] Tim Parker commented on SOLR-9325: -- I'd be happy to - but I haven't installed anything other than full builds - and I don't have the dev environment set up... I have 6.2.1 installed - can you send me the replacement file(s)? > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15563906#comment-15563906 ] Jan Høydahl commented on SOLR-9325: --- [~tparker] would you be able to test this in your environment? > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker >Assignee: Jan Høydahl > Fix For: 6.3, master (7.0) > > Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch > > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9325) solr.log written to {solrRoot}/server/logs instead of location specified by SOLR_LOGS_DIR
[ https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15525843#comment-15525843 ] Jan Høydahl commented on SOLR-9325: --- Tested this on master now. Changing {{SOLR_LOGS_DIR}} in solr.in.sh will cause console and gc logs to go to the new dir, but not {{solr.log}} which is hardcoded in {{log4j.properties}}. However, this is clearly documented in solr.in.sh, so user is told how to fix it. Still I think we should try to somehow propagate the env.var into the log4j file > solr.log written to {solrRoot}/server/logs instead of location specified by > SOLR_LOGS_DIR > - > > Key: SOLR-9325 > URL: https://issues.apache.org/jira/browse/SOLR-9325 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 5.5.2, 6.0.1 > Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92 >Reporter: Tim Parker > > (6.1 is probably also affected, but we've been blocked by SOLR-9231) > solr.log should be written to the directory specified by the SOLR_LOGS_DIR > environment variable, but instead it's written to {solrRoot}/server/logs. > This results in requiring that solr is installed on a writable device, which > leads to two problems: > 1) solr installation can't live on a shared device (single copy shared by two > or more VMs) > 2) solr installation is more difficult to lock down > Solr should be able to run without error in this test scenario: > burn the Solr directory tree onto a CD-ROM > Mount this CD as /solr > run Solr from there (with appropriate environment variables set, of course) -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org