[
https://issues.apache.org/jira/browse/CLEREZZA-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976825#action_12976825
]
Reto Bachmann-Gmür commented on CLEREZZA-205:
---------------------------------------------
When existing instances have been updated there system graph doesn't contain
the new permission and it may not be possible to add it via user manager (as
the bug prevent logging in), it can be fixed on the shell. Paste the following
to the console:
import platform.Constants._
import rdf.core.access._
val tcManager = $[TcManager]
val sysGraph = tcManager.getMGraph(SYSTEM_GRAPH_URI)
import rdf.ontologies._
import rdf.utils._
import rdf.scala.utils._
import Preamble._
val typeNode = new GraphNode(PERMISSION.Role, sysGraph)
val basePermissionRole = (typeNode/-RDF.`type`).find(n => (n/DC.title*) ==
"BasePermissionsRole") match { case Some(n) => n; case _ => throw new
RuntimeException}
import rdf.core._
val permission = new GraphNode(new BNode, sysGraph)
import rdf.core.impl.PlainLiteralImpl
permission.addProperty(PERMISSION.javaPermissionEntry, new
PlainLiteralImpl("""(org.osgi.framework.AdminPermission "*" "metadata")"""))
basePermissionRole.addProperty(PERMISSION.hasPermission, permission!)
> Logging and profiling capability
> --------------------------------
>
> Key: CLEREZZA-205
> URL: https://issues.apache.org/jira/browse/CLEREZZA-205
> Project: Clerezza
> Issue Type: New Feature
> Reporter: Fabian Wabbel
> Assignee: Reto Bachmann-Gmür
> Attachments: net.getunik.clerezza.core.logger.zip
>
>
> Hi,
> For our production systems we would like to write log files instead of
> sending the log to system.out. Any idea what it needs to make this available
> systemwide? I'm dreaming of a Confluence-style configuration:
> http://i43.tinypic.com/mhgz5.jpg
> Oli has created a first version, would you mind having a look?
> Thanks
> Fabian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.