Hi Maryam,
While I am not completely sure what you are asking, I have taken a stab in the dark that you are creating libraries to conatain shared variables that are logging data to the Citadel database in MAX. I am further assuming you have a parent lvlib file containg at least one shared variable, and also at least one child lvlib containg at least one shared variable, that logs data to the database.
When you deploy the libraries, the logging information is stored in the variables themselves, and so it doesn't matter about the hierarchical structure of you lvlib files, only those variables that have logging enabled will log, those that don't wont.
I attach a simple example program to show this the parent variable does not log, all others do.
Regards
JamesC
NIUK and Ireland