Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Log4perl log rotation in threadpool environment ("share")

by rmahin (Scribe)
on Nov 16, 2012 at 18:33 UTC ( #1004230=note: print w/replies, xml ) Need Help??

in reply to Re: Log4perl log rotation in threadpool environment ("share")
in thread Log4perl log rotation in threadpool environment

Interesting! Wasn't aware ya could do that. Didnt have much luck using this due to the file handle it returned not being a typical file handle. Was able to get stuff to print, but not after I set the handle as a property of the object. Could probably get it to work if I reworked more of the code, but the post below seems to work well. Thanks for you input!
  • Comment on Re^2: Log4perl log rotation in threadpool environment ("share")

Replies are listed 'Best First'.
Re^3: Log4perl log rotation in threadpool environment ("share")
by tye (Sage) on Nov 16, 2012 at 18:50 UTC

    You open a file with, for example, createFile(), and then get a "typical file handle" via OsFHandleOpen(). (Win32API::File)

    I should just submit a patch to make FILE_SHARE_DELETE be the default for Perl.

    - tye        

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004230]
[Corion]: I'd really like to create a dynamic frontend for my Google Keep clone, but so far, all the templating solutions seem to bring their own template language or require me to hand-code everything in (their own flavour of) Javascript. I'd like something ...
[Corion]: ... that can use templates from the HTML (via <script language="text/ template">... my template ...</script> and otherwise gets out of my way. But it seems that is not how the Javascript world is, currently :-/
[Corion]: I guess my question is, has anybody worked with React, Ember, Angular (v2, v4, v.whatever) or any other JS client-side dynamic rendering/virtual DOM thingie and found a simple, single-file solution like jQuery?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-03-27 19:05 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (321 votes). Check out past polls.