You might want to see help form your IT staff... the account name is usually the name you use to login to your machine.
Gary On Oct 19, 2016 11:02 AM, "William Johnston" <willi...@tenbase2.com> wrote: > > Hello, > > May I ask what the correct username should be? > > Sincerely, > William Johnston > > > -----Original Message----- From: Gary Gregory > Sent: Wednesday, October 19, 2016 1:04 PM > To: Log4J Users List > Subject: Re: Windows permissions issues > > William, > > It could be that your account does not have write access to that file or > its containing folder. Or maybe the containing folder does exist. Or maybe > the underlying file was deleted or moved. IOW, it could be lots of > things... > > Gary > > On Wed, Oct 19, 2016 at 8:11 AM, William Johnston <willi...@tenbase2.com> > wrote: > > >> Hello, >> >> What should the permissions be for the log4j output file on a Windows >> machine? >> >> Here is the error I am getting: >> >> log4j:ERROR setFile(null,true) call failed. >> java.io.FileNotFoundException: cojack_log4j.log (Access is denied) >> >> The complete stack trace is included as the attachment. >> >> I am using log4j-1.2.16 since this version was included in a commercial >> Java software product. >> >> There is also another file included as an attachment serving as a >> configuration file. Again, this file was included with the product >> installation. >> >> Here is the configuration file contents: >> >> log4j.rootLogger=DEBUG, outputfile >> >> log4j.appender.standardconsole=org.apache.log4j.ConsoleAppender >> log4j.appender.standardconsole.layout=org.apache.log4j.PatternLayout >> log4j.appender.standardconsole.layout.ConversionPattern=%d [%c] %-5p - >> %m%n >> >> log4j.appender.outputfile=org.apache.log4j.FileAppender >> log4j.appender.outputfile.file=cojack_log4j.log >> log4j.appender.outputfile.layout=org.apache.log4j.PatternLayout >> log4j.appender.outputfile.layout.ConversionPattern=%d [%c@%t] %-5p - %m%n >> >> log4j.appender.logfactor=org.apache.log4j.lf5.LF5Appender >> >> Your assistance would be appreciated. >> >> Regards, >> William Johnston >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org >> For additional commands, e-mail: log4j-user-h...@logging.apache.org >> >> > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > Java Persistence with Hibernate, Second Edition > <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl? > ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&link > Code=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l= > am2&o=1&a=1617290459> > JUnit in Action, Second Edition > <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl? > ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&link > Code=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> > > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l= > am2&o=1&a=1935182021> > Spring Batch in Action > <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl? > ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&link > Code=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Bli > nk_id%7D%7D%22%3ESpring+Batch+in+Action> > <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l= > am2&o=1&a=1935182951> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > >